Project And Teamorganisation Tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1. Setupt venev
* virtualenv -p /usr/bin/python3 patt-venv
* ln -s patt-venv/bin/activate
* source activate
* Sometimes upgrades are needed: pip list --outdated | cut -d ' ' -f 1 | xargs pip install $1 --upgrade
* pip install -r requirements.txt
2. Set SECRET:KEY in config.py
3. python manage.py migrate
4. python manage.py createsuperuser
5. python manage.py collectstatic
6. chgrp www-data . && chmod 770 .
7. chgrp www-data db.sqlite3 && chmod 664 db.sqlite3
8. chgrp www-data -R data
8.1. find data -type d -exec chmod 775 "{}" \;
8.2. find data -type f -exec chmod 664 "{}" \;

x. Run server by command "python manage.py runserver 0.0.0.0:8000" or add App to apache