|
11 | 11 |
|
12 | 12 | ## Getting Started
|
13 | 13 |
|
14 |
| -👋 Want to contribute to this project? Follow these steps to get started: |
| 14 | +:wave: Want to contribute to this project? Follow these steps to get started: |
15 | 15 |
|
16 |
| -- **💻 Environment Setup**: First, you're going to want to make sure your development environment is properly set up. Read through our [development environment setup](docs/DEVELOPER.md) guide. |
| 16 | +- **:computer: Environment Setup**: First, you're going to want to make sure your development environment is properly set up. Go ahead and read through our [development environment setup](docs/DEVELOPER.md) guide. |
17 | 17 |
|
18 |
| -- **✏️ Contribute**: Once you're set up, you're ready to become a contributor. Make sure you read our [contributing guidelines](docs/CONTRIBUTING.md) before you start working! |
| 18 | +- **:pencil2: Contribute**: Once you're set up, you're ready to become a contributor. Make sure you read our [contributing guidelines](docs/CONTRIBUTING.md) before you start working on a story so that you can learn our workflows. |
19 | 19 |
|
20 |
| -- **🙋 Ask Questions**: If you're stuck on something, don't be afraid to ask around in [Slack](http://join-our-slack.code4socialgood.org/)! You can also check out our list of [common problems](docs/PROBLEMS.md) to see if your issue is addressed there. |
| 20 | +- **:european_castle: Project Architecture**: We've put together an [architecture guide](docs/ARCHITECTURE.md) to serve as a reference and help reduce the time it takes to familiarize yourself with this project's architecture and codebase. |
| 21 | + |
| 22 | +- **:raising_hand: Questions & Problems**: If you're stuck on something, don't be afraid to ask around in [Slack](http://join-our-slack.code4socialgood.org/)! You can also check out the [docs](docs/), where there is a lot of helpful information including a list of [common problems](docs/PROBLEMS.md). |
21 | 23 |
|
22 | 24 | ## Additional Information
|
23 | 25 |
|
24 | 26 | Below is a cheatsheet for the scripts that can be found in `package.json`:
|
25 | 27 |
|
26 | 28 | ```bash
|
27 |
| -$ yarn # Install dependencies (npm install) |
28 |
| -$ yarn db start # Restart docker container with mongodb and add seed data (npm run db -- start) |
29 |
| -$ yarn db stop # Stop docker container with mongodb (npm run db -- stop) |
30 |
| -$ yarn email start # Start docker container with MailHog, if it's not already running (npm run email -- start) |
31 |
| -$ yarn email stop # Stop docker container with MailHog (npm run email -- stop) |
32 |
| -$ yarn start # Run app locally on port 3000 and in watch mode on port 3001 via https (npm start) |
33 |
| -$ yarn test # Run tests (npm test) |
34 |
| -$ yarn build # Generate distribution (npm run build) |
| 29 | +$ yarn # Install dependencies (npm install) |
| 30 | +$ yarn start # Start all docker containers and app on port 3000 and on port 3001 via https w/ watch mode (npm start) |
| 31 | +$ yarn stop # Stop all docker containers (npm stop) |
| 32 | +$ yarn restart # Restart all docker containers and app (npm restart) |
| 33 | +$ yarn test # Run linter, test build, and tests (npm test) |
| 34 | +$ yarn e2e # Run end-to-end tests (npm run e2e) |
| 35 | +$ yarn lint # Run linter (npm run lint) |
| 36 | +$ yarn db <start/stop> # Start/stop docker container with seeded MongoDB (npm run db -- <start/stop>) |
| 37 | +$ yarn email <start/stop> # Start/stop docker container with MailHog (npm run email -- <start/stop>) |
| 38 | +$ yarn build # Generate distribution (npm run build) |
35 | 39 | ```
|
36 | 40 |
|
37 | 41 | *Although yarn is recommended, you may also use npm natively. The corresponding npm commands are in parenthesis above.*
|
|
0 commit comments