mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
improvements from feedback
This commit is contained in:
18
README.md
18
README.md
@@ -43,15 +43,13 @@ Our other repositories are:
|
|||||||
|
|
||||||
### Direct installation
|
### Direct installation
|
||||||
|
|
||||||
1. Set up Postgres && Redis
|
1. Set up Postgres && Redis on your machine
|
||||||
|
|
||||||
|
1. Install [pipenv](https://pipenv.pypa.io/en/latest/)
|
||||||
|
|
||||||
1. Install dependencies into a virtual environment
|
1. Install dependencies into a virtual environment
|
||||||
|
|
||||||
```
|
`make bootstrap`
|
||||||
pipenv install --dev
|
|
||||||
createdb notification_api
|
|
||||||
flask db upgrade
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Create the .env file
|
1. Create the .env file
|
||||||
|
|
||||||
@@ -62,15 +60,11 @@ Our other repositories are:
|
|||||||
|
|
||||||
1. Run Flask
|
1. Run Flask
|
||||||
|
|
||||||
```
|
`make run-flask`
|
||||||
pipenv run make run-flask
|
|
||||||
```
|
|
||||||
|
|
||||||
1. Run Celery
|
1. Run Celery
|
||||||
|
|
||||||
```
|
`make run-celery`
|
||||||
pipenv run make run-celery
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### VS Code && Docker installation
|
### VS Code && Docker installation
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ both with `pytest` and with trial runs.
|
|||||||
To run a command on cloud.gov, use this format:
|
To run a command on cloud.gov, use this format:
|
||||||
|
|
||||||
```
|
```
|
||||||
cf run-task CLOUD-GOV-SPACE --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND
|
cf run-task CLOUD-GOV-APP --commmand "YOUR COMMAND HERE" --name YOUR-COMMAND
|
||||||
```
|
```
|
||||||
|
|
||||||
[Here's more documentation](https://docs.cloudfoundry.org/devguide/using-tasks.html) about Cloud Foundry tasks.
|
[Here's more documentation](https://docs.cloudfoundry.org/devguide/using-tasks.html) about Cloud Foundry tasks.
|
||||||
|
|||||||
Reference in New Issue
Block a user