mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05:00
Revise final sections of the README
This makes a few additional changes to curb the length of this file, by moving length documentation (the picture is large) into a separate file, where other documentation could go. It also corrects the section on requirements, and attempts to make it more concise.
This commit is contained in:
27
README.md
27
README.md
@@ -64,33 +64,20 @@ make bootstrap
|
||||
make test
|
||||
```
|
||||
|
||||
## Updating application dependencies
|
||||
## Common tasks
|
||||
|
||||
`requirements.txt` file is generated from the `requirements-app.txt` in order to pin
|
||||
versions of all nested dependencies. If `requirements-app.txt` has been changed (or
|
||||
we want to update the unpinned nested dependencies) `requirements.txt` should be
|
||||
regenerated with
|
||||
### Updating application dependencies
|
||||
|
||||
```
|
||||
make freeze-requirements
|
||||
```
|
||||
`requirements.txt` is generated from the `requirements.in` in order to pin versions of all nested dependencies. If `requirements.in` has been changed, run `make freeze-requirements` to regenerate it.
|
||||
|
||||
`requirements.txt` should be committed alongside `requirements-app.txt` changes.
|
||||
### Automatically rebuild the frontend assets
|
||||
|
||||
|
||||
## Automatically rebuild the frontend assets
|
||||
|
||||
If you want the front end assets to re-compile on changes, leave this running
|
||||
in a separate terminal from the app
|
||||
If you want the front end assets to re-compile on changes, leave this running in a separate terminal from the app
|
||||
|
||||
```shell
|
||||
npm run watch
|
||||
```
|
||||
|
||||
## Working with static assets
|
||||
## Further docs
|
||||
|
||||
When running locally static assets are served by Flask at http://localhost:6012/static/…
|
||||
|
||||
When running on preview, staging and production there’s a bit more to it:
|
||||
|
||||

|
||||
- [Working with static assets](docs/static-assets.md)
|
||||
|
||||
7
docs/static-assets.md
Normal file
7
docs/static-assets.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Working with static assets
|
||||
|
||||
When running locally static assets are served by Flask at http://localhost:6012/static/…
|
||||
|
||||
When running on preview, staging and production there’s a bit more to it:
|
||||
|
||||

|
||||
Reference in New Issue
Block a user