mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Merge pull request #876 from GSA/jskinne3-if-it-runs
Notes about running ./run.sh and make run-profile
This commit is contained in:
12
README.md
12
README.md
@@ -289,9 +289,12 @@ cd terraform/development
|
|||||||
./run.sh
|
./run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
In addition to some infrastructure setup, this will also create a local `.env`
|
If this runs correctly, Terraform will ask you if you want to create some
|
||||||
file for you in the project's root directory, which will include a handful of
|
resources. Answer `yes`.
|
||||||
project-specific environment variables.
|
|
||||||
|
The script will also create a local `.env` file for you in the project's
|
||||||
|
root directory, which will include a handful of project-specific environment
|
||||||
|
variables.
|
||||||
|
|
||||||
Lastly, if you didn't already start PostgreSQL and Redis above, be sure to do
|
Lastly, if you didn't already start PostgreSQL and Redis above, be sure to do
|
||||||
so now:
|
so now:
|
||||||
@@ -385,6 +388,9 @@ Now you can run the web server and background workers for asynchronous jobs:
|
|||||||
make run-procfile
|
make run-procfile
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If it runs correctly, you will be able to visit http://127.0.0.1:6011/ and see
|
||||||
|
JSON from the API in your web browser.
|
||||||
|
|
||||||
This will run all of the services within the same shell session. If you need to
|
This will run all of the services within the same shell session. If you need to
|
||||||
run them separately to help with debugging or tracing logs, you can do so by
|
run them separately to help with debugging or tracing logs, you can do so by
|
||||||
opening three sepearate shell sessions and running one of these commands in each
|
opening three sepearate shell sessions and running one of these commands in each
|
||||||
|
|||||||
Reference in New Issue
Block a user