Director (web3)
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7283a17 Oct 6, 2018
Failed to load latest commit information.
conductor Fix Code Style Nov 6, 2017
config Use NodeSource for Node.js Jul 10, 2017
cron wildcard cert Aug 18, 2018
node add migrations Aug 18, 2018
scripts less verbose output Aug 18, 2017
web3 Disable VMs until conductor is fixed Sep 14, 2018
.eslintignore update eslint check Jul 11, 2017
.eslintrc.json fix eslint Jul 16, 2017
.gitignore turn on debug for vagrant Feb 25, 2017
.travis.yml run tests Dec 17, 2017
COPYING add license Apr 26, 2017 Vagrant Use NFS Dec 26, 2017
Vagrantfile Vagrant Use NFS Dec 26, 2017 fix build Jun 23, 2017
requirements.txt bump reqs Oct 6, 2018

Director Build Status

Director (web3) is a website management platform for TJHSST.

Developing for Director

Before starting development for Director, generate Ion OAuth credentials here. Clone this repository, and copy config/devconfig.json.sample to config/devconfig.json. Edit the devconfig.json file and fill out the ion_key and ion_secret fields with your Ion OAuth credentials.

To develop for Director, you will need to download Vagrant. After it is downloaded, you should install the following Vagrant plugins:

  • vagrant-bindfs
  • vagrant-winnfsd (if you're using Windows)

Then you can run vagrant up in the folder with the Vagrantfile. This will create a virtual machine to run the Director development environment. After provisioning is finished, you should be able to access Director at localhost:8000.

To stop the virtual machine, you can use the vagrant halt command. You can also suspend and resume the machine using the commands vagrant suspend and vagrant resume. You can SSH into the virtual machine using the command vagrant ssh. You can restart the server using the commands supervisorctl restart director or supervisorctl restart directornode.

The Conductor agent is not installed by default. To install the Conductor agent, SSH into the machine and run sudo bash director/config/

Current Director maintainer: Naitian Zhou (TJ 2018)