⚠️ This server has been decommissioned (May 2026). The AWS EC2 instance has been terminated. See Migration below for the current site and archive details.
This is the Source Code repository for DasLab Website Server. The production server was freely accessible at https://daslab.stanford.edu/.
In May 2026, daslab.stanford.edu was migrated from this Django/MySQL AWS server to a static GitHub Pages site.
| Details | |
|---|---|
| New site | https://daslab.stanford.edu/ (GitHub Pages) |
| New site repo | https://github.com/DasLab/daslab.github.io |
| Archive | DasLab Shared Drive → Projects → AWS Server Archives → Daslab_2026/ |
| Archive contents | daslab_aws_archive.tar.gz (Django app), daslab_db.sql (MySQL dump), README.docx |
| AMI snapshot | None created |
To run the old site locally from the archive, see README.docx in the Google Drive folder above.
DasLab Server requires the following Python packages as dependencies, most of which can be installed through pip.
boto >= 2.48.0
Django >= 1.11.7
django-adminplus >= 0.5
django-crontab >= 0.7.1
django-environ >= 0.4.4
django-filemanager == 0.0.2
django-suit >= 0.2.25
django-widget-tweaks >= 1.4.1
dropbox >= 8.6.0
gviz-api.py == 1.8.2
icalendar >= 4.0.0
MySQL-python >= 1.2.5
PyGithub >= 1.35
pytz >= 2017.3
requests >= 2.18.4
simplejson >= 3.13.2
slacker >= 0.9.60The 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 installDasLab Server also requires proper setup of mysql.server, apache2, mod_wsgi, mod_webauth, openssl, wallet, gdrive, pandoc, awscli, and cron jobs.
Lastly, assets preparation is required for the 1st time through running sudo python manage.py versions, util_prep_dir.sh, util_minify.sh, util_chmod.sh and manually replacing config/*.conf. For full configuration, please refer to Documentation.
To run the test/dev server, use:
cd path/to/server_daslab/repo
python manage.py runserverThe server should be running at localhost:8000 with a python session interactive in terminal.
Copyright © 2015-2018: Siqi Tian [t47], Das Lab, Stanford University. All Rights Reserved.
DasLab Server Source Code is proprietary and confidential. Unauthorized copying of this repository, via any medium, is strictly prohibited.
by t47, January 2016.
