http://panda.eba-gaci4fx8.us-west-2.elasticbeanstalk.com/
(for linux please do docker-compose, for mac please do docker compose without "-")
- build
$ docker-compose build
- drop and recreate and migrate db
$ docker-compose run web rake db:drop db:create db:migrate
if you wish to use seed file, run
$ docker-compose run web rake db:drop db:create db:migrate db:seed
- start the server
$ docker-compose up
- put http://0.0.0.0:3000/ in browser, press RETERN
- create your branch locally
$ git branch [username]/[branchname]
- see if your branch created locally
$ git branch
- go to your branch
$ git checkout [username]/[branchname]
- make edits to web content
- git add your change
$ git add .
- make your message
$ git commit -m "[your message]"
- git push
$ git push origin [your branch]
- open new pull request On GitHub page Pull Requests -> new pull request -> change field to "base:main branch <- compare:[yourbranch]"
- put some message in message box
- ask for at least 1 reviewer to approve (your teammate)
- resolve any conflict in local by typing this in your console
git pull origin main --rebase
Then in the source control on the leftside bar of VSCode, follow the prompt to accept incoming/current change add all change make a commit
$ git push origin [yourbranch] --force-with-lease
- click merge button in browser to main branch