Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cma2819 committed Feb 15, 2022
2 parents 809a719 + 45219b2 commit 1330271
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
9 changes: 2 additions & 7 deletions tracker/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,8 @@
{% block login %}{% endblock %}
{% block credits %}
{% if djangoversion and pythonversion %}
<div class="container-fluid text-center" style="margin-bottom:30px;">
{% blocktrans with djangoversion=djangoversion pythonversion=pythonversion %}
Running on Django with Python
{% endblocktrans %}
<br />{% trans "Python code by UraniumAnchor, SMK, and jdeng" %}
<br />{% trans "CSS by Cool Matty" %}
<br />{% trans "Translated By yagamuu and cma"%}
<div class="container-fluid text-center" style="padding-bottom:5px; position: fixed; bottom: 0; margin-left: auto; margin-right: auto; width: 100%; background: #222; padding-top: 5px; color: #999; font-size: x-small;">
{% trans "Python code by UraniumAnchor, SMK, and jdeng." %} {% trans "CSS by Cool Matty." %} {% trans "Translation by yagamuu and cma."%}
</div>
{% endif %}
{% endblock %}
Expand Down

0 comments on commit 1330271

Please sign in to comment.