{% comment "This comment section will be deleted in the generated project" %}
A Fantastic Django project starter.
- Ready Bootstrap-themed pages
- User Registration/Sign up
- Better Security with 12-Factor recommendations
- Logging/Debugging Helpers
- Works on Python 3 and Django 3
- Formatted with Black
More information at: http://django-edge.readthedocs.org/ Contribute using: Edge Dev Tools ✨ 🍰 ✨
Before creating a new project from this template, you need to create a fresh virtual environment and install Django:
-
$ python -m venv ./myenv -
Pick the appropriate activate script based on your OS/shell
- On Windows:
.\myenv\Scripts\activate.bat - On Linux/bash:
$ source ./myenv/bin/activate - On Linux/fish:
$ source ./myenv/bin/activate.fish
- On Windows:
-
$ python -m pip install -U pip wheel django
Create your new edgy django project (Replace edgy in all commands to the name of your project):
$ django-admin startproject --template=https://github.com/arocks/edge/archive/django3.zip --extension=py,md,html,env edgy$ cd edgy$ pip install -r requirements.txt$ cd src$ cp edgy/settings/local.sample.env edgy/settings/local.env$ python manage.py migrate$ python manage.py createsuperuser$ python manage.py runserver
Rest of this README will be copied to the generated project.
{% endcomment %}
{{ project_name }} is a short description. It is built with Python using the Django Web Framework.
This project has the following basic apps:
- App1 (short desc)
- App2 (short desc)
users(Custom User model with user profile views)
To set up a development environment quickly, first create a virtual env. Then run these commands:
$ cd {{ project_name }}$ pip install -r requirements.txt$ cd src$ cp edgy/settings/local.sample.env edgy/settings/local.env(alterntively, setup the environment vars)$ python manage.py migrate$ python manage.py createsuperuser$ python manage.py runserver
Open your browser and login using the superuser credentials you used in step 6!
Take a look at the docs for more information.