Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated development.rst #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@ Virtual environment

Create a new virtualenv::

$ python3 -m venv venv-wger
$ source venv-wger/bin/activate
For LINUX Follow below:
$ python3 -m venv venv-wger
$ source venv-wger/bin/activate


For WINDOWS Follow below:
$ exec python -m venv venv-wger
$ source venv-wger/Scripts/activate


Note:- For Windows Migrate to this path wger/wger/__main__.py and set pty=False in Line No.40 which for Linux should be True


Get the code
Expand Down Expand Up @@ -38,6 +47,11 @@ database and populate it with data on the first run::
$ wger create-settings
$ wger bootstrap
$ wger load-online-fixtures

For migrating your database locally write the following command:
$ python manage.py migrate
$ wger load-fixtures


You can of course also use other databases such as PostgreSQL or MariaDB. Create
a database and user and edit the DATABASES settings before calling bootstrap.
Expand Down