Проект на тема "Вътрешна кетъринг система" е предложена от ТехноЛогика ЕАД по курса Методи за анализ и проектиране, летен семестър 2017/2018, спец. ИТУП.
Идеята на това repo за момента е да съдържа базов скелет на бъдещата система.
python 2.7.10
pip 7.0.1
Clone the repo
It is recommended to create a virtualenv, where to install the project requirements. To do that:
- Check if the virtualenv is installed:
virtualenv --version
- Navigate to directory where the new env will be created (for example one dir above )
- Create a virtualenv:
virtualenv <the name of the new env>
- activate the environment:
source <the name of the new env>/bin/activate
(for Windows user: source <the name of the new env>/Scripts/activate)
Navigate to the directory with manage.py and requirements.txt files
Install the requirements:
pip install requirements.txt
Run the migrations in order to create the local SQL db:
python manage.py migrate
Run the server locally:
python manage.py runserver 127.0.0.1:<port>
(With debugger: python -m pdb manage.py runserver <ip>:<port>)
-
After running the server, the admin panel is accessible on :/admin.
-
The SQL db can be opened and modified with http://www.sqliteexpert.com/