####CSCI 3308 Project
####Groupmember:
Weipeng Cao, Lacey Conrad, Austin Linn, Dmytro Ryzhkov
####Description:
HobbyHub is the first website of its kind! Connect with users from around the world who share the same interests as you. Share your ideas, or read the ideas of others!
DIRECTORY STRUCTURE
basic/ contains main of yii framework(see README.md in basic)
LoginDB/ contains .sql for database setup
ScreenShots/ contains website screenshots
tests/ contains test results
autodoc/ contains auto document in formats html and pdf
demo/ contains the video
- basic/vendor by running tar -xvf vendor.tar.gz at /basic
- PHP GD extension
- install by $apt-get install php5-gd
- start or restart server
- database userDB (see Setup Database below)
- Setup codecept for test (Instruction in basic/tests) OPTIONAL!
- go to /LoginDB
- create databae userDB
- create tables users, profiles, groups, groupmembers, interest with queries @ LoginDB/userDB.sql;
- If command in step 3 doesnt work, can also do: source userDB.sql;
- GRANT ALL PRIVILEGES ON userDB. * TO 'csci_proj'@'localhost' identified by 'csci_proj';
table interest is optional
- go to basic/web
- run php -S localhost:<port #>
- in your webbrowser go to localhost:<port #>
- codecept run @ basic/tests