Skip to content

IncaProject/amass-dashboard

Repository files navigation

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