ysfoz / django_Portal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Portal

Video

Getting Started

Setup project environment with virtualenv and pip.

$ virtualenv project-env
$ source project-env/bin/activate
$ pip install -r https://github.com/ysfoz/django_Portal/blob/main/requirements.txt

# You may want to change the name `projectname`.
$ django-admin startproject --template https://github.com/ysfoz/django_Portal/archive/master.zip projectname

$ cd projectname/
$ cp settings_custom.py.edit settings_custom.py
$ python manage.py migrate
$ python manage.py runserver

Features

  • Basic Django scaffolding (commands, templatetags, statics, media files, etc).
  • Split settings in two files. settings_custom.py for specific environment settings (localhost, production, etc). projectname/settings.py for core settings.
  • Simple logging setup ready for production envs.

Contributing

I love contributions, so please feel free to fix bugs, improve things, provide documentation. Just send a pull request.

About

License:MIT License


Languages

Language:JavaScript 41.6%Language:CSS 34.3%Language:HTML 11.3%Language:Python 10.0%Language:Shell 2.6%