forked from martinspeleo/graphgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
37 lines (27 loc) · 1011 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Quick start instructions
========================
Install required software (Ubuntu):
sudo apt-get install virtualenvwrapper sqlite3 git python-dev gfortran zlib1g-dev
Setup your git user details
git config --global user.name "Your Name"
git config --global user.email you@example.com
Clone the repository:
git clone https://github.com/martinspeleo/graphgrid.git
Configure virtualenv by following instructions in /etc/bash_completion.d/virtualenvwrapper
Create a virtual environment:
mkvirtualenv -r requirements graphgrid
Edit graphgrid/localsettings.py to contain the following:
DATABASES = {'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '/path/to/graphgrid/db.sql'
}
}
STATICFILES_DIRS = ('/path/to/graphgrid/static/',)
FONTS_DIR = '/home/martin/Repositories/graphgrid/fonts/'
DEBUG = True
Build the database:
python manage.py syncdb
Apply database migrations:
python manage.py migrate
Run the Django webserver:
python manage.py runserver