02167a9faa
Auth: login and logout views See merge request !1 |
||
---|---|---|
musician | ||
userpanel | ||
.env.example | ||
.gitignore | ||
CHANGELOG.md | ||
manage.py | ||
README.md | ||
requirements.txt | ||
setup.py |
django musician
Python code is written following PEP 8 sytle guide and it is based on Django framework.
How do I get set up?
- Install Python and its packet manager (pip)
# on a Debian based environment:
apt=(
git
python3-pip
python3-setuptools
)
sudo apt-get install --no-install-recommends -y ${apt[@]}
- Install virtualenv (isolate app python related requirements)
sudo pip3 install virtualenv
- Clone this repository
git clone https://github.pangea.org/slamora/django-musician.git
- Prepare env and install requirements
cd django-musician
virtualenv env
source env/bin/activate
pip3 install -r requirements.txt
- Start django devel server (check everything is ok)
python manage.py migrate
python manage.py runserver
-
Open http://127.0.0.1:8000/ in your browser.
-
If everything works, follow Django deployment instructions.