unf
Please follow these steps to set the application [Ubuntu]:
- login to MariaDB using username root and password appsec:
mysql -u root -p
- create database called SMIRK:
CREATE DATABASE SMIRK; exit;
- download git repository:
- install libraries:
sudo apt-get update; sudo apt-get install libmysqlclient-dev python-dev; sudo pip install django-tastypie django mysqlclient;
- run server:
cd unf; python manage.py migrate; python manage.py loaddata fixtures/initial_data.json; sudo python manage.py runserver
note: to run the server on port 80, do these:
sudo service nginx stop; #skip this sudo python manage.py runserver 80