-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
install git, python(v2.7), python-django(v1.4), tidy, python-lxml i'm suggesting using a Debian 7 VM(http://www.debian.org/distrib/). for production use: apache2, libapache2-mod-wsgi
install requirements: pip install -r requirements
-
git clone https://github.com/laDanz/BuLiTipp
-
create BuLiTipp/BuLiTipp/BuLiTipp/local_settings.py with DATABASE_NAME="/some/absolut/path/database.db"
-
locate manage.py
-
do ./manage.py syncdb
expected output:
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table BuLiTippApp_news
Creating table BuLiTippApp_spielzeit
Creating table BuLiTippApp_spieltag
Creating table BuLiTippApp_verein
Creating table BuLiTippApp_spiel
Creating table BuLiTippApp_tipp
Creating table BuLiTippApp_kommentar
Creating table BuLiTippApp_meistertipp
Creating table BuLiTippApp_herbstmeistertipp
Creating table BuLiTippApp_absteiger
Creating table BuLiTippApp_tabelle
You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'user'):
E-mail address: [email protected]
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
-
- build-in server:
- run server: ./manage.py runserver
- production server:
- copy BuLiTipp/misc/install/sites-enabled/* to your /etc/apache2/sites-enabled
- edit paths to match your clone location
- make sure your apache2 user (in debian: "www-data") has access to your database file and its containing directory
- build-in server: