Project created to develop skills in the field of django framework, docker, app building and DevOPS principles.
In short it should transform into Microservices app
- Python3 at least 3.6
- Django version 3.2.16
- Open ,,Code" tab
- Copy this part
- Paste it into terminal window after "git clone"
Shhh. Remember that you need to press ctrl+l_shift+v to paste it into regular terminal. Or something like this
git clone git@github.com:Kotmin/CRUD_multiapp.git
Just run
python -m venv
For us that should be
source venv/bin/activate
Sometimes the path should be slightly different like venv/Scripts/activate
Right now name of our env should appear
Congratulation you're working now in semi-separated environment. Hmmmm you don't have any strong separation sooo be carefull. Just read the docs what that exactly is. And the most important part. Have Fun!
deactivate
pip install -r ./requirements.txt
Initialisation of new database (I've leave default database setting, so if you are not going to change it immediately you shall run this command)
python manage.py migrate
python manage.py runserver