Answer the question
In order to leave comments, you need to log in
How to deploy a new django (ubuntu) project?
Good afternoon
I started learning django - and immediately stumbled on the simplest thing - creating a project,
my actions in the terminal:
cd projects/site
virtualenv virtalenv --no-site-packages
. virtualenv/bin/activate
pip install django
django-admin startproject myapp
django project root : projects/site/myapp
settings : myapp/settings.py
manage script : manage.py
Answer the question
In order to leave comments, you need to log in
In paycharm, sometimes you need to specify with your hands where your virtualenv is located
Settings-> search django
PS
cd projects/site
virtualenv virtalenv --no-site-packages
. virtualenv/bin/activate
pip install -r requirements.txt
pip freeze
pip freeze > requirements.txt
somehow it's better to "deploy"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question