initial commit
This commit is contained in:
parent
c16fddf9b4
commit
ada9d99644
187 changed files with 37611 additions and 42 deletions
23
README.md
23
README.md
|
@ -1,22 +1,5 @@
|
|||
Django Docker Template
|
||||
Movie Night API
|
||||
=
|
||||
|
||||
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 YOUR_PROJECT_NAME`
|
||||
2. `cd YOUR_PROJECT_NAME`
|
||||
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`
|
||||
|
||||
Note: This uses common Linux utis so it should work on just about any Linux distro (including Windows WSL) and _probably_ MacOS too. However, this has only been tested on Fedora Linux. Please submit an issue if you run into any problems and I'll see what I can do.
|
||||
Requirements:
|
||||
- Docker
|
Loading…
Add table
Add a link
Reference in a new issue