Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fox1t committed Jul 10, 2020
1 parent 7365c2d commit aa9523b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,16 @@ To delete the development database, go to the root of the project and run `docke
2. Configure `REACT_APP_HOSPITALRUN_API=http://localhost:5984` environment variable in `.env`
3. Run the application `npm start`

## Online one-click setup for contributing

Open a file named `.env` and add a line `REACT_APP_HOSPITALRUN_API=http://localhost:5984` if you don't have it yet.

_Note: To delete the development database, go to the root of the project and run `docker-compose down -v --rmi all --remove-orphans`_

## 3. Start the application
```
npm install
npm run start
```

Open a file named `.env` and add a line `REACT_APP_HOSPITALRUN_API=http://localhost:5984` if you don't have it yet.

_Note: To delete the development database, go to the root of the project and run `docker-compose down -v --rmi all --remove-orphans`_

If your branch's packages changed, reinstall the packages before starting the application:
```
rm -fr node_modules
Expand All @@ -63,7 +61,7 @@ npm install
npm run start
```

Note: We no longer support the use of yarn.
_Note: We no longer support the use of yarn._

## 4. Before pushing your changes, check locally that your branch passes CI checks

Expand Down

1 comment on commit aa9523b

@vercel
Copy link

@vercel vercel bot commented on aa9523b Jul 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.