Skip to content

Commit 65188b0

Browse files
committed
Activate the virtualenv, use the venv module, and stop mentioning Python 2
1 parent fb5e09d commit 65188b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ Clone this repository::
77
git clone https://github.com/matthiask/feincms3-example/
88
cd feincms3-example
99

10-
Setup a virtualenv (Python 3 is recommended for new projects, but you
11-
can also use Python 2.7)::
10+
Setup a virtualenv::
1211

13-
virtualenv -p python3 venv
14-
venv/bin/pip install -r requirements.txt
12+
python3 -m venv venv
13+
. venv/bin/activate
14+
pip install -r requirements.txt
1515

1616
Run migrations and create a superuser::
1717

18-
venv/bin/python manage.py migrate
19-
venv/bin/python manage.py createsuperuser
18+
./manage.py migrate
19+
./manage.py createsuperuser
2020

2121
Import the fixtures::
2222

23-
venv/bin/python manage.py loaddata fixtures/pages.json
24-
venv/bin/python manage.py loaddata fixtures/articles.json
23+
./manage.py loaddata fixtures/pages.json
24+
./manage.py loaddata fixtures/articles.json
2525

2626
Start the runserver::
2727

28-
venv/bin/python manage.py runserver
28+
./manage.py runserver
2929

3030
Open ``http://127.0.0.1:8000/`` and ``http://127.0.0.1:8000/admin/`` and
3131
dive in!

0 commit comments

Comments
 (0)