Skip to content

A platform that allowed teachers to create educational unity games from simple form inputs. Students can play in browser and scores are collected for the teachers. ***This was my senior project, shared with 3 other students, but ~95% of this code is mine***

License

wallstead/eduplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eduplay README

Things you should know the basics of

How to setup locally

  1. set up postgresql on your local machine
  2. import database from heroku and set up
  3. Set up git (many tutorials online)
  4. Clone git repo for project using git clone https://github.com/wallstead/eduplay.git
  5. cd into root directory of project
  6. run npm run start
  7. ALWAYS git pull master before branching off to get newest code from upstream.
  8. Checkout a topic branch for whatever you're working on (give it a good description) git checkout -b [put branch name here without brackets]
  9. Make any changes you want
  10. Make sure the site is running as intended with changes locally
  11. If you want to commit a change, do it with git commit -m [put a message about the changes here]
  12. merge your topic branch into master with git checkout master, then git merge [topic branch name], and push master with git push origin master.
  13. This automatically starts the build on heroku. Log into heroku to see logs, see if builds succeed, set env vars, etc.
  14. If build succeeds go to https://myeduplay.herokuapp.com/ and see your changes.

If site goes down on push to master

  1. Look at logs to see what the issue is, do testing locally
  2. implement fix locally
  3. push change to master
  4. see if that fixed it
  5. repeat 1-4 until fixed

How do I put my database on heroku?

Don't. If you really need to, let me know and I'll run you through it, but there is almost no case in which this will need to happen.

If you want to revert some code in git

Be careful, make sure you know what you are doing. Make sure you test any reverted code on your local thoroughly before pushing a commit upstream.

What is a .pug file?

Basically it's HTML, in a different format that enables templating. Look at documentation here.

What is a .scss file?

Basically it is better CSS, it gets compiled into CSS when you save a change to a scss file if you're running the npm run scss script.

About

A platform that allowed teachers to create educational unity games from simple form inputs. Students can play in browser and scores are collected for the teachers. ***This was my senior project, shared with 3 other students, but ~95% of this code is mine***

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published