Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

29 lines (26 loc) · 1.26 KB

quizzical

A web app that makes test prep easy.

Pre-requisites

  • Development environment has only been tested on macOS
  • Docker must be installed in the development environment (no docker-machine)

Setup

Clone the repository into $GOPATH/src/github.com/skeswa/quizzical. Then naviagte into the repository in your terminal, and execute:

./infra/scripts/build-images.sh

Afterwards, execute:

./infra/scripts/start-containers.sh

Then, in your favorite browser, open http://localhost/. At this point, you should be able to see the quizzical interface.

Tada! The quizzical development environment should be ready for you. Each of the running containers will automagically update when you change the filesystem until you run:

./infra/scripts/stop-containers.sh

Dockerizing

quizzical git:(master) docker-compose -f ./infra/docker-compose.yml build quizzical git:(master) ✗ docker-compose -f ./infra/docker-compose.yml down docker-compose -f ./infra/docker-compose.yml up -d

REST notes

See /Users/mduduzikeswa/Documents/dev/mazasoft/go/src/github.com/skeswa/quizzical/api/main.go for routes/endpoints See /Users/mduduzikeswa/Documents/dev/mazasoft/go/src/github.com/skeswa/quizzical/api/dto for JSOn structure