/t47io_demo

DEMO.T47.IO | Lab Internal System Demo

Primary LanguageHTMLOtherNOASSERTION

t47io Lab Demo

T47 Logo

This is the Source Code repository for Lab Demo Website. The demo server is freely accessible at https://demo.t47.io/. The production server is served for DasLab Website at https://daslab.stanford.edu/.

Installation

Lab Demo requires the following Python packages as dependencies, most of which can be installed through pip.

boto >= 2.38.0
Django >= 1.9.1
django-adminplus >= 0.5
django-crontab >= 0.7.0
django-environ >= 0.4.0
django-filemanager == 0.0.2
django-suit >= 0.2.15
django-widget-tweaks >= 1.4.1
dropbox >= 4.0
gviz-api.py == 1.8.2
icalendar >= 3.9.1
MySQL-python >= 1.2.5
PyGithub >= 1.26.0
pytz >= 2015.7
requests >= 2.9.1
simplejson >= 3.8.1
slacker >= 0.9.0

The gviz-api.py is available at google-visualization-python.

The django-filemanager is a modified version of django-filemanager. The source code is available internally at this fork.

Install with:

cd ~
git clone https://github.com/google/google-visualization-python.git
cd google-visualization-python
sudo python setup.py install

cd ..
git clone https://github.com/t47io/django-filemanager.git
cd django-filemanager
sudo python setup.py install

Lab Demo also requires proper setup of mysql.server, apache2, mod_wsgi, pandoc and cron jobs.

Lastly, assets preparation is required for the 1st time through running util_prep_dir.sh, util_system_version.sh, util_minify.sh, util_chmod.sh and manually replacing config/*.conf. For full configuration, please refer to Documentation.

Usage

To run the test/dev server, use:

cd path/to/server_demo/repo
python manage.py runserver

The server should be running at localhost:8000 with a python session interactive in terminal.

Documentation

  • Documentation is available at admin manual and reference.

  • Alternatively, read the repository Wiki.

License

Copyright © 2015-2017: Siqi Tian [t47], Stanford University. All Rights Reserved.

The original DasLab Server Source Code is proprietary and confidential. Unauthorized copying of this repository, via any medium, is strictly prohibited.

by t47, January 2016.