This repo is for Newton's website https://www.newtonproject.org.
apt-get update && cat package.txt|xargs apt-get install -y --force-yes
virtualenv ve && source ve/bin/activate
pip install -r web/requirements.txt
$mysql
mysql>create database newton_www default character set utf8;
open web/web/config/server.py for changing your database account. The original is the following,
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'newton_www',
'USER': 'root',
'PASSWORD': '',
},
}
cd web && ./environment/test/testing.sh