Django starter project to build django project quickly with powerful tools.
Django Eye can be installed via Pip or Pipenv. To start, clone the repository to your local computer.
$ git clone https://github.com/alex1the1great/Django-Eye.git $ cd Django-Eye $ touch .env $ cp .env.template .env$ python -m venv venv_djangoeye $ source venv_djangoeye/bin/activate $ pip install -r requirements.txt$ pipenv install $ pipenv shellDjango new secret key
$ python manage.py shell >>> from django.utils.cyrpto import get_random_string >>> get_random_string(80) # copy the secret key and assign it to DJANGO_SECRET_KEYPostgreSQL setup
Create new postgresql database and add credentials into .env file. Migrate and run Django server
$ python manage.py migrate $ python manage.py runserverCreate a new app
$ cd apps $ django-admin startpp <your_app_name>Register a newly created app
- Go to roots/settings/base.py
USER_DEFINE_APPS = [ 'apps.<your_app_name>.apps.<your_app_name>Config', ]- Go to apps/<your_app>/apps.py
- Change the app name to:
name = 'apps.<your_app_name>'
For production :exclamation:
-
Go to manage.py file and change settings file to production:
roots.settings.development
roots.settings.production
Contributions, issues and feature requests are welcome!
Give a ⭐️ if this project helped you!