-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
37 lines (33 loc) · 1.12 KB
/
README
File metadata and controls
37 lines (33 loc) · 1.12 KB
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
Installation Instructions
=========================
cd /home/<username?
virtualenv venv
source venv/bin/activate
# this activates virtual environment
mkdir /home/<username>/github
cd github
mkdir incaproject
cd incaproject
git clone https://github.com/IncaProject/amass-dashboard.git
# now create directories needed by Django and django-dash
mkdir db logs media static tmp
mkdir media/static
# now amass database is used as Django admin db
# edit the database information in my.cnf
cd amass-dashboard
# edit settings/base.py and change DEBUG = True (needed to view static files) and ADMINS
setenv DJANGO_SETTINGS_MODULE='settings.production'
export DJANGO_SETTINGS_MODULE
pip install -r requirements_novenv.txt
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
python manage.py runserver
# files that I have edited
#amass-dashboard/amassplot/static/js
#amass-dashboard/amassplot/templates/amassplot/plugins
#amass-dashboard/amassplot/dash_plugins.py
#amass-dashboard/amassplot/dash_widgets.py
#amass-dashboard/foo/dash_plugins.py
#amass-dashboard/foo/dash_widgets.py
#amass-dashboard/foo/dash_layouts.py