2015-01-02 22:40:13 +01:00
|
|
|
Yet Another Matemat
|
|
|
|
===================
|
|
|
|
|
|
|
|
Mate calculation as a web app.
|
2015-01-02 22:58:23 +01:00
|
|
|
We are developing a python3 django app.
|
2015-01-02 22:40:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
2015-01-03 03:14:53 +01:00
|
|
|
On a Debian System install: python3-django sqlite
|
2015-01-02 22:58:23 +01:00
|
|
|
Install suggested dependcies as well (sqlite).
|
2015-01-02 22:40:13 +01:00
|
|
|
|
2015-01-03 03:14:53 +01:00
|
|
|
then run (in the repo root):
|
2015-01-02 22:58:23 +01:00
|
|
|
|
2015-01-03 03:14:53 +01:00
|
|
|
./manage.py syncdb
|
2015-01-02 22:58:23 +01:00
|
|
|
|
2015-01-03 03:14:53 +01:00
|
|
|
create an admin user for the new django database, then run
|
|
|
|
|
|
|
|
./manage.py runserver
|
|
|
|
|
|
|
|
and you should already be able to access it at: http://localhost:8000/
|
2015-01-02 22:58:23 +01:00
|
|
|
|
2015-01-03 03:59:08 +01:00
|
|
|
Now all that's left is to add drinkers and drinks via the admin panel.
|
|
|
|
Access it at http://localhost:8000/admin/ (don't miss the last slash)
|
|
|
|
and add at least one drinker and one drink using the admin user you just created.
|
2015-01-03 14:17:38 +01:00
|
|
|
Alternatively you can pull out mate.sqlite3 from the 'database' branch, which already
|
|
|
|
contains some drinkers and drinks.
|
2015-01-03 03:59:08 +01:00
|
|
|
|
2015-01-02 22:58:23 +01:00
|
|
|
If you don't know nothing about django yet, we strongly suggest you read the tutorial:
|
|
|
|
https://docs.djangoproject.com/en/1.7/intro/tutorial01/
|
|
|
|
|
|
|
|
We welcome if you send us how you made it run on your system!
|