The backend for eduBoard, written in Go with httprouter and MongoDB.
- Install
dep
- Run
dep ensure
to install dependencies
The backend needs MongoDB to be connected. Connection parameters can be changed using ENV.
The easiest way to run the backend is using Docker. Just run docker-compose up
and you are done.
The traefik reverse proxy is used for https support. Some changes need to be made to traefik.toml
- change email to a valid email
- change domain to your domain
- move the file to /opt/traefik/traefik.toml
The watchtower makes sure that you that you always have the newest eduboard version running.
You can start it over the command line (your container name might be different from eduboard_server_1
)
docker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ v2tec/watchtower eduboard_server_1
See the Spec.