Compare commits
No commits in common. "8f77027402ac83468564d07e9500657ceaa6d163" and "0cffd02cdb78804ef94e41d1915ef54024a88dbb" have entirely different histories.
8f77027402
...
0cffd02cdb
2 changed files with 0 additions and 23 deletions
21
README.md
21
README.md
|
@ -1,21 +0,0 @@
|
||||||
Django Docker Template
|
|
||||||
=
|
|
||||||
|
|
||||||
Starter template for Django in a Docker container. Includes Postgres for the database and Django Rest Framework configured with Knox token authentication enabled.
|
|
||||||
|
|
||||||
Dependencies
|
|
||||||
=
|
|
||||||
- Docker ([running as non-root user](https://docs.docker.com/engine/install/linux-postinstall/))
|
|
||||||
- Git
|
|
||||||
|
|
||||||
How to use
|
|
||||||
=
|
|
||||||
1. Clone the project and enter the project directory
|
|
||||||
1. `git clone https://edbuildsthings.com/tiradoe/django-docker-template.git`
|
|
||||||
2. `cd django-docker-template`
|
|
||||||
2. Run the setup script
|
|
||||||
1. `./firstRun.sh` and enter information when prompted
|
|
||||||
2. If something goes wrong, running `git checkout .` will restore any changes but you'll need to manually delete the project directory that was created
|
|
||||||
|
|
||||||
That's it! You should now have a basic project running with documentation at `http://localhost:8000`
|
|
||||||
|
|
|
@ -56,5 +56,3 @@ echo "===== CREATING SUPERUSER ====="
|
||||||
docker exec -ti "${PROJECT_NAME}-api" ./manage.py createsuperuser
|
docker exec -ti "${PROJECT_NAME}-api" ./manage.py createsuperuser
|
||||||
|
|
||||||
echo "Success! Go to http://localhost:8000 to see API documentation."
|
echo "Success! Go to http://localhost:8000 to see API documentation."
|
||||||
|
|
||||||
git remote remove origin
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue