forked from CenterForTheBuiltEnvironment/powerdb2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
38 lines (26 loc) · 988 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
38
powerdb2 Frontend
=================
powerdb2 provides a plotting interface on top of time series data
loaded into a sMAP archive. To install, first configure a database
for django to use; sqlite3 works fine for a small installation:
DATABASES = {
'default' : {
'ENGINE' : 'django.db.backends.sqlite3',
'NAME' : 'smapdb',
}
If your archiver is running locally, you are are done; otherwise, edit
ARD_URL to point to your remote archiver. To try a system with a lot
of data, feel free to point yourself at:
ARD_URL = 'http://ar2.openbms.org:8079'
Once you've done this, you need to run two django commands to
initialize your install:
$ python manage.py collectstatic
$ python manage.py syncdb
You will want to create a superuser while doing this.
Finally, you should be able to run your local copy of the frontend
using:
$ python manage.py runserver
Dependencies
============
Check debian/control for the most up-to-date list of python
dependencies.