README updates

This commit is contained in:
nikolark committed 2013-10-21 15:36:26 +02:00
1 parent b03bbd7552
commit 7b09f0e237
1 file changed
+19 -25
+19 -25
View File
@@ -1,46 +1,40 @@
D.U.S.K.E.N
===========
#D.U.S.K.E.N
Dårlig Utrustet Studentsystem som Kommer til å Endre Norge.
You can find the documentation at [http://dusken.readthedocs.org/]().
[![Build Status](https://api.travis-ci.org/neuf/dusken.png)](https://travis-ci.org/neuf/dusken)
You can find the documentation at [dusken.readthedocs.org](http://dusken.readthedocs.org/).
## Installation
### Manual install:
Installation
------------
See http://edb.neuf.no/wiki/index.php/DUSKEN for installation
**TODO installation:**
### TODO Vagrant install:
Download latest version of Vagrant from [http://downloads.vagrantup.com/]() and then do:
Download latest version of Vagrant from [downloads.vagrantup.com](http://downloads.vagrantup.com/) and then do:
vagrant plugin install vagrant-salt
vagrant up
vagrant ssh
Database Diagram Generation
---------------------------
## Generate Fixtures for Test
python manage.py dumpdata dusken.<model> -n --indent=4 > dusken/fixtures/<model>.json
## Database Diagram Generation
sudo apt-get install graphviz libgraphviz-dev
pip install pygraphviz django-extensions
python manage.py graph_models -o diagramfile.png main
python manage.py graph_models -o diagramfile.png dusken
Generate Fixtures for Test
--------------------------
`python manage.py dumpdata --all -n > main/fixtures/new-testdata.json`
## Design References
A similar data model might allready [exist](http://www.databaseanswers.org/data_models/generic_foundation/index.htm) [out](http://www.databaseanswers.org/data_models/organisations_and_people_and_transactions/index.htm) [there](http://www.databaseanswers.org/data_models/organisations_and_people/index.htm).
## Developer References
Design References
-----------------
* Database model: [http://www.databaseanswers.org/data_models/generic_foundation/index.htm]()
* Database model: [http://www.databaseanswers.org/data_models/organisations_and_people_and_transactions/index.htm]()
* Database model: [http://www.databaseanswers.org/data_models/organisations_and_people/index.htm]()
Developer References
--------------------
* Tastypie: [https://django-tastypie.readthedocs.org/en/latest/]()
* [Tastypie](https://django-tastypie.readthedocs.org/)