You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> 🎯 The last resource will be removed after implementing all features and will be replaced by schedules.
31
41
32
42
## 📝 Setup
33
43
34
44
- You need a GitHub token you can generate on [this page](https://github.com/settings/tokens).
35
45
- Create a `.env` file based on the `.env-example` file and set the token previously created.
36
-
- You have to create a `.gcloud-conf.json` to save service account (it's not the best option actually, this can be replaced by another configuration).
37
-
- Run the application with `quarkus dev` if you have the [Quarkus CLI](https://quarkus.io/guides/cli-tooling) installed on your environment, or `mvn quarkus:dev`command.
46
+
- Create a `.gcloud-conf.json` file in the root of the project containing your Google Cloud service account key. This is required for the application to authenticate with GCP services.
47
+
-**Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable** to point to your key file. This is crucial for authentication in your local environment.
- Run the application with `quarkus dev` if you have the Quarkus CLI installed on your environment, or `mvn quarkus:dev` command.
38
52
- You can use Quarkus dev service for Firestore enabling this variable `quarkus.google.cloud.firestore.devservice.enabled` in application.properties file.
39
53
54
+
## 🐳 Docker
55
+
56
+
Start by building the image:
57
+
58
+
```bash
59
+
docker build -t zoss-dashboard .
60
+
```
61
+
62
+
Then run the container mapping the ports (8080 for API, 8888 for UI) and mounting the credentials:
Anyone can contribute to this project. For the moment, please add your question or propose something in [a new issue](https://github.com/zenika-open-source/opensource-statistics/issues).
0 commit comments