/Mascref

Mapping coral reefs

Primary LanguageJavaScript

Set up server

sudo apt-get update

install apache

sudo apt-get install apache2

mysql

sudo apt-get install mysql-server php5-mysql sudo mysql_install_db sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt apt-get -y install phpmyadmin

sudo apt-get install libmysqlclient-dev python-dev

mysql -u root -p

CREATE DATABASE mascref;

python manage.py loaddata user.json python manage.py loaddata researcher.json python manage.py loaddata group_set.json python manage.py loaddata transect_type.json python manage.py loaddata group_category.json python manage.py loaddata group.json python manage.py loaddata country.json python manage.py loaddata initial_data.json

python manage.py runserver 53190

Copy frontend/js app.env_conf.template.js to app.env_conf.js

Copy mascref/mascref/mascref/settings_local.template to settings_local.py