-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Current Gamma version that is in production (#837)
Co-authored-by: Gurrit <[email protected]>
- Loading branch information
Showing
658 changed files
with
60,680 additions
and
1 deletion.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @portals @gurr1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
yarn-error.log | ||
frontend/node_modules/ | ||
.idea/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Theodor Angergård <[email protected]> <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
language: java | ||
|
||
jdk: | ||
- oraclejdk11 | ||
|
||
before_script: | ||
- cd backend | ||
|
||
script: | ||
- ./gradlew build --console 'plain' -s | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
# Gamma | ||
# Gamma | ||
|
||
[![Build Status](https://travis-ci.com/cthit/Gamma.svg?branch=develop)](https://travis-ci.com/cthit/Gamma) | ||
|
||
# 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](https://github.com/cthit/Gamma/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](https://swagger.io/) and can be found under http://localhost:8081/api/swagger-ui.html while the application is running. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.gradle/ | ||
/build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
/uploads/ | ||
|
||
/src/main/resources/secrets.properties | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
/out/ | ||
.idea/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/build/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
secrets.properties |
Oops, something went wrong.