Pulling our code down on PythonAnywhere For Python-Django
Create your account on www.pythonanywhere.com and then go to Bash Shell.

PythonAnywhere command-line
$ git clone https://github.com/<your-github-username>/<repo-name>.git
PythonAnywhere command-line
$ cd repo-name
$ virtualenv --python=python3.6 myvenv
Running virtualenv with interpreter /usr/bin/python3.6
[...]
Installing setuptools, pip...done.
$ source myvenv/bin/activate
(myvenv) $ pip install django
Collecting django
[...]
Successfully installed django-1.11.
(mvenv) $ python manage.py migrate
Operations to perform:
[...]
Applying sessions.0001_initial... OK
(mvenv) $ python manage.py createsuperuser
Comments
Post a Comment