mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Update README.md
This commit is contained in:
parent
827f40ee87
commit
08f68c0b0a
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@ A live API demo can be found [here](https://api.template.06222001.xyz/swagger)
|
||||||
- Populate .env with values
|
- Populate .env with values
|
||||||
- Run `docker-compose -f docker-compose.dev.yml up`
|
- Run `docker-compose -f docker-compose.dev.yml up`
|
||||||
|
|
||||||
Be sure to follow through the steps shown in the `stripe-listener` container for initial setup with Stripe!
|
When using `docker-compose.dev.yml`, the entire project directory is mounted onto the container allowing for hot-reloading. Make sure DEBUG is set to True for this to work! Be sure to follow through the steps shown in the `stripe-listener` container for initial setup with Stripe!
|
||||||
|
|
||||||
|
### Deployment
|
||||||
|
|
||||||
|
A sample `docker-compose.demo.yml` is provided which I use to host in hosting the demo. DEBUG should be set to False when deploying as to not expose the URLs fro Celery Flower and the Django Silk Profiler. The local Inbucket container is not present as well so make sure to specify an external SMTP server to process emails properly.
|
||||||
|
|
||||||
### URLs
|
### URLs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue