Город МОСКОВСКИЙ
00:06:12

How to set up a django project with docker-compose in Pycharm professional

Аватар
Python: революция в кодировании
Просмотры:
25
Дата загрузки:
02.12.2023 07:49
Длительность:
00:06:12
Категория:
Технологии и интернет

Описание

This is the official tutorial to setup your project for the Process Mining course at the University of Padua.

The repository link is:
https://github.com/WilliamsRizzi/ProcessMiningUNIPD2019_20

The command to clone the repository is:
git clone https://github.com/WilliamsRizzi/ProcessMiningUNIPD2019_20.git

The command to create the volume is:
docker volume create --name data-postgresql --driver local

The command to create
docker-compose run progetto_padova bash -c "python3 manage.py makemigrations; python3 manage.py migrate"

To allow you to run this project you need to have:
- a running version of git installed;
- a running version of Pycharm ultimate, NOT community version;
- a running version of docker, beware that I am running mac, to set up a docker running version on your machine you will need to perform these two extra steps:
- set the path of the docker-machine and docker-compose - possibly in Programs/Docker/Docker/resources/bin
- set the ambient variabile credsStore in ./docker/config.json as empty field ( '' )

Рекомендуемые видео