It was created as a thesis for the Python course https://itproger.com/intensive/python
First you must clone project then choice run method
-
Clone project
git clone https://github.com/vanya2143/briefly
-
Choose a way to run the project
-
Go to the project directory
-
Install and create virtualenv (in the project directory)
- Install
pip3 install virtualenv
- Create virtualenv
python3 -m venv .env
- Install requirements
pip3 install -r requirements.txt
- Install
-
Create a database and run project
- Create database
python2 manage.py migrate
- Run
python3 manage.py runserver
- Create database
- Go to the project directory
- Run command
docker-compose up --build
- Run migrations
docker-compose run web python3 manage.py migrate