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
devconfig.json file and fill out the
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-winnfsd (if you're using Windows)
Then you can run
vagrant up in the folder with the
This will create a virtual machine to run the Director development environment.
After provisioning is finished, you should be able to access Director at
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
You can SSH into the virtual machine using the command
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/provision_conductor.sh.
Current Director maintainer: Naitian Zhou (TJ 2018)