File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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
1616Run 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
2121Import 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
2626Start the runserver::
2727
28- venv/bin/python manage.py runserver
28+ ./ manage.py runserver
2929
3030Open ``http://127.0.0.1:8000/ `` and ``http://127.0.0.1:8000/admin/ `` and
3131dive in!
You can’t perform that action at this time.
0 commit comments