Skip to content

cthit/Gamma

Repository files navigation

Gamma

Build Status

Gamma is Chalmers IT section account system

Gamma is licensed under the GNU AGPL, see LICENSE.


More information about Gamma can be found on the Wiki

Build setup

For production

it's real easy. Just replace the environment variables with suitable value (see wiki) and run:

docker-compose -f prod.docker-compose.yml up --build

Depending on your build system, things might be different, and a proxy is probably needed for a real production version of Gamma.

Development

run

docker-compose up --build to build the frontend, backend, database, databasemonitoring, and all microservices that's needed for Gamma.

If developing on the backend, we recomend not running the backend in the docker-compose file. There is a docker-compose file that sets up all microservice but the backend, to use this run: docker-compose -f no_backend.docker-compose.ym up --build then you will need to start the server, this is done by running the Java code in the backend, and is probably best done through an IDE.

You'll need to run docker-compose down / docker-compose -f no_backed.docker-compose.yml down if you want to try the production build. Same if you're going from production to development.

API Documentation

The API documentation is auto-generated by Swagger and can be found under http://localhost:8081/api/swagger-ui.html while the application is running.