Closed guillecro closed 6 years ago
Note: If you download the repo and try the tests or the dev env, it wont work.
Here there are no default values. You have to make a .env
file according to the one provided and set up keycloak with their realms for dev env and test env.
On the root folder of the project there are available a few realms for prod, dev and test that you can use and import inside your keycloak instance.
im not able to start the app due to some error in the docker-compose related to mysql volume
The docker compose needs to be reviewed in another issue. Sadly my knowledge on docker are not that great for this task.
About logging the config, it could be useful on Dev environment, as many backend framework does (like next.js)
On Wed, Jun 27, 2018, 12:22 frn notifications@github.com wrote:
im not able to start the app due to some error in the docker-compose related to mysql volume
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/DemocracyOS/back/pull/17#issuecomment-400713759, or mute the thread https://github.com/notifications/unsubscribe-auth/AIXWXtX0SzqTUxJu_Zv4tD1TTcXjH9ciks5uA6McgaJpZM4U5sd2 .
Yes, i missed that conditional about the logging. How are you testing it without the docker-compose?
I downloaded jboss/keycloak docker and i just started it as independent docker-compose from the one we have in this repo.
I will make a new issue stating that I have to deal with that configuration. Might be the next step, so it can be more clear for you. I need to make some research about docker thou, like, how to run scripts and manage enviroment variables to initialize the keycloak configuration and its users with the CLI commands.
Hi! I come today to give you the Community API and DB-API working properly. Also their tests were implemented and the API was documented.
To build the API run
npm run docs:build
and you will have it available onhttp://localhost:3000/docs/api