-
Notifications
You must be signed in to change notification settings - Fork 18
Server installation
ierror edited this page Jun 26, 2012
·
5 revisions
su - postgres
psql <ENTER>
CREATE DATABASE "beautifulmind" WITH OWNER "postgres" ENCODING 'UTF8';
mkdir -p /opt/beautifulmind/
cd /opt/beautifulmind/
git clone git://github.com/nerdsportgruppe/BeautifulMind.io.git www
cd www
git checkout production
chown -R www-data:www-data /opt/beautifulmind/
# -*- coding: utf-8 -*-
NAME = 'boerni'
IS_FOR_DEVELOPMENT = True
SECRET_KEY = 'MAKE ME VERY UNIQUE!!!!!!!!!!!!!!!!!!!' %HRJ&T/KZ(JH&G/E$&HR'
ADMINS = (
('Bernhard', '[email protected]'),
)
Make sure FOO within _50_env_FOO.py matches your environment.py NAME field and edit settings
virtualenv --no-site-packages virtualenv
source virtualenv/bin/activate
pip install -r REQUIREMENTS
./manage.py syncdb
./manage.py migrate
./manage.py runserver_plus 0.0.0.0:8000
./manage.py mindmaptornado_run