Team: We are ThreeGuys
Directories: data - for saving questions static - for Javascript, CSS, images... templates - for static HTML files
Packages: Flask
APIs
/(<uid>) - use uid to get related question sheet with answers
/get/<uid> - API to get related answers (should be called in /<uid>)
/submit/(<uid>) - API to submit results, return json of id: {'id': <uid>}
/save/(<uid>) - API to save results, return json of id: {'id': <uid>}
python main.py
- Copy generated js file to /static/js/
- Copy generated css file to /static/css/
- modify templates/index.html (do not copy files!), link related js and css files
- if you have data.json changed, put it in assets/data
- push your work
- log in
- cd ~/threeguys
- git pull
- sudo service main restart
- sudo service nginx restart
Developer | Contact |
---|---|
Ruoqiu Zhang | [email protected] |
Qiaoyu Liu | [email protected] |
Hao Xu | [email protected] |
Udhayashankar | [email protected] |
Alvaro Bilbao La Vieja | [email protected] |
Green IT challenge : Threeguys © Sourcecode remain the property of the developers.