EC Env


EC Env

  1. install atom, Git.
  2. Install virtual env
python3 -m pip install --user virtualenv
# create a new
python3 -m venv {{ecom}}
# enter into virtual env
source {{ecom}}/bin/activate
# check all packages
pip freeze
# deactiavte virtual env
deactivate
  1. Install Django
pip install django==3.1
  1. Start project
djangp-admin startproject {{ec}}
cd {{ec}}
python manage.py runserver

Author: Happy
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Happy !
  TOC