-
Notifications
You must be signed in to change notification settings - Fork 3
How to use WSOYT
jemzlee edited this page Apr 4, 2017
·
12 revisions
This is the main page.
- Navi Bar: Navigate through other pages (Log In, Register, About)
- Display: Simply Weird videos!
- Next Button: Skip to next weird video
This page is for users to register/log in their own account.
- Username: Enter your username
- password: Enter your password
This page is for admins to use.
- Search Bars: You can add a video by typing video id into the first search bar and delete a video from database by typing video id into the second search bar.
- Admin table: A table that displays information about each video (view, id, thumbnail, title etc....)
- Navi Bar: Navigate through other pages
This page is for users to view their history.
- Admin table: A table that displays information about viewed videos (date, id, thumbnail, title etc....)
- Navi Bar: Navigate through other pages
This page is about the WSOYT team.
- Simply about us page
This page is about running the server locally
- Clone this Repository.
- Install MongoDB and nodeJS
- Create a new folder ( C:\data\db )
- Start MongoDB server in command prompt. Enter " C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe "
- Open node.js command line and get into cloned repository. (ex. cd documents\wysot)
- Once in the correct folder, type 'npm install' to install all dependencies
- Type in command line 'node app.js'
- If it doesn't work, try adding a video or two using add_video.js file in tools folder. (Trying to fix issue of server not working when there are no videos in the database on start.)