-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from agiliq/running_locally
Added README to run the project locally
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Running the project locally | ||
|
||
You should follow these steps to run the project locally. | ||
|
||
### Create a virtual environment | ||
|
||
You should create a virtual environment, preferably with Python 3.6 | ||
|
||
If you use **virtualenvwrapper**, you could do: | ||
|
||
mkvirtualenv --python=/usr/local/bin/python3 django-admin-cookbook | ||
|
||
### Install the requirements | ||
|
||
pip install -r requirements.txt | ||
|
||
### Run migrations | ||
|
||
python manage.py migrate | ||
|
||
### Run server and access admin | ||
|
||
python manage.py runserver | ||
|
||
You can access admins at: | ||
|
||
http://localhost:8000/entity-admin | ||
|
||
http://localhost:8000/event-admin |