brew install postgres
Then start it with:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Then add DB:
psql -d template1
template1=# CREATE USER digifoot WITH PASSWORD 'digifoot';
template1=# CREATE DATABASE digifoot;
template1=# GRANT ALL PRIVILEGES ON DATABASE digifoot to digifoot;
template1=# ALTER USER digifoot CREATEDB;
virtualenv ve -p /usr/bin/python
ve/bin/pip install -r requirements.txt
ve/bin/python manage.py migrate
ve/bin/python manage.py runserver
heroku create
git push heroku master
heroku run python manage.py migrate
sudo sysctl -w kern.sysv.shmmin=1
sudo sysctl -w kern.sysv.shmall=1079204
sudo sysctl -w kern.sysv.shmmax=4420419584
Project developed by Hern.as and Hackevents.co.
People involved in project:
- Bartosz Hernas
- Christian Strobl
- Marc Seitz
- Michał Hernas