forked from GamesDoneQuick/donation-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/RTAinJapan/donation-tracker
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 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 |
---|---|---|
|
@@ -103,7 +103,7 @@ Start up a new Django Project like the [Django Tutorial](https://docs.djangoproj | |
|
||
Clone the Git repo and install it in edit mode: | ||
|
||
- `git clone [email protected]:GamesDoneQuick/donation-tracker` | ||
- `git clone [email protected]:RTAinJapan/donation-tracker` | ||
- `pip install -e donation-tracker` | ||
|
||
Install remaining development dependencies: | ||
|
@@ -125,6 +125,12 @@ Add the following apps to the `INSTALLED_APPS` section of `tracker_development/s | |
'mptt', | ||
``` | ||
|
||
Add the following parameter in `setting.py`: | ||
|
||
``` | ||
DOMAIN = "server hostname" | ||
``` | ||
|
||
Add the following chunk somewhere in `settings.py`: | ||
|
||
```python | ||
|
@@ -173,6 +179,15 @@ urlpatterns = [ | |
|
||
In the main project folder: | ||
|
||
- `python manage.py migrate` | ||
- `python manage.py compilemessages` | ||
|
||
- It needs `gettext`. For example, `apt-get install -y gettext libgettextpo-dev` | ||
|
||
- `python manage.py createsuperuser` | ||
|
||
- create superuser by following the dialog | ||
|
||
- `python manage.py runserver` | ||
|
||
In a separate shell, in the `donation-tracker` folder: | ||
|
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