Skip to content

Commit

Permalink
Update docs (#4)
Browse files Browse the repository at this point in the history
cleanup readme
  • Loading branch information
kcrane3576 committed Jun 14, 2022
1 parent 50ba2e7 commit 05125aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ docker run -p 5001:5000 \
/usr/src/app/manage.py \
run \
-h 0.0.0.0

```
```shell
# container logs
docker-compose logs -f

Expand All @@ -37,7 +38,7 @@ docker-compose up --build -d
# container logs
docker-compose logs -fdocker-compose -f docker-compose.prod.yml logs -f
```
***

```shell
# login and verify database
docker-compose exec db psql --username=$POSTGRES_USER --dbname=$POSTGRES_PASSWORD
Expand All @@ -48,15 +49,14 @@ docker-compose exec web python manage.py seed_db
docker-compose exec db psql --username=$POSTGRES_USER --dbname=$POSTGRES_PASSWORD
test_flask_dev=# \dt
```
***
```

```shell
# clean
docker-compose down -v
docker system prune -af
```



***
## ✨ flask postgres nginx
***
Expand All @@ -68,7 +68,7 @@ docker-compose -f docker-compose.prod.yml up -d --build
# setup database
docker-compose -f docker-compose.prod.yml exec web python manage.py create_db
```
***

```shell
# logs
docker-compose -f docker-compose.prod.yml logs -f
Expand Down

0 comments on commit 05125aa

Please sign in to comment.