- Git (https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud)
- Databases (https://www.youtube.com/watch?v=wR0jg0eQsZA)
- HTML/CSS/JS
- set up postgresql on your local machine
- import database from heroku and set up
- Set up git (many tutorials online)
- Clone git repo for project using
git clone https://github.com/wallstead/eduplay.git
cd
into root directory of project- run
npm run start
- ALWAYS
git pull master
before branching off to get newest code from upstream. - Checkout a topic branch for whatever you're working on (give it a good description)
git checkout -b [put branch name here without brackets]
- Make any changes you want
- Make sure the site is running as intended with changes locally
- If you want to commit a change, do it with
git commit -m [put a message about the changes here]
- merge your topic branch into master with
git checkout master
, thengit merge [topic branch name]
, and push master withgit push origin master
. - This automatically starts the build on heroku. Log into heroku to see logs, see if builds succeed, set env vars, etc.
- If build succeeds go to
https://myeduplay.herokuapp.com/
and see your changes.
- Look at logs to see what the issue is, do testing locally
- implement fix locally
- push change to master
- see if that fixed it
- repeat 1-4 until fixed
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.
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.
Basically it's HTML, in a different format that enables templating. Look at documentation here.
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.