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

Add a step to create an admin user in README #32

Open
wants to merge 1 commit 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
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,18 @@ Stay in the `pyVerein` directory and run the command:
python manage.py compilemessages
```

### Step 5: Run server
### Step 5: Create an admin user
Stay in the `pyVerein` directory and run the command:
```
python manage.py createsuperuser --username=admin --email=mail@domain.com
```
You will be prompted to set a password for the user you are creating.
You can use the login data for the first time login.

### Step 6: Run server
Stay in the `pyVerein` directory and run the command:
```
python manage.py runserver
```

For further information on how to deploy a Django-application please refer to the [official Django documentation](https://docs.djangoproject.com/en/2.1/).
For further information on how to deploy a Django-application please refer to the [official Django documentation](https://docs.djangoproject.com/en/2.1/).