tetherless-world / materialsmine

MIT License
2 stars 2 forks source link

Nanomine-graph

visualization for nanomine project

Installation

Developing mode

Each time a change is made on the visualization, apache2 and celeryd service have to be restarted manually. This is very troublesome. whyis has a developing mode that help you allevate this pain.

sudo su - whyis
cd /app/whyis
python manage.py runserver -h 0.0.0.0

Then, you only need to refresh your webpage to see your changes immediately after you make changes to the visualization. After you finished the visualization changes, you can shutdown the developing mode with CTRL+c. Then you have to restart apache2 and celeryd service by

sudo service apache2 restart
sudo service celeryd restart