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
{{ message }}
This repository was archived by the owner on Aug 3, 2025. It is now read-only.
5. Run the following command to grab the latest releases of all services, including the frontend
64
+
65
+
```sh
66
+
repo sync
67
+
```
68
+
69
+
6. Run the settings init script:
70
+
```sh
71
+
./scripts/docker_settings_init.sh
72
+
```
73
+
7. Start up Docker. (This may involve `docker-machine`if you're on a Mac)
74
+
8. Start the Docker containers:
75
+
```sh
76
+
docker-compose up
77
+
```
78
+
9. Wait for the image to build and startup. If it works, you'll be able to visit `https://0.0.0.0:5000`in a browser and see the deployed site. The Groot API will be available on port 8000.
79
+
80
+
Useful Notes:
81
+
82
+
* If you want to just rebuild one service (i.e. fordev work), you can keep the `docker-compose` command running, and run this commandin a separate terminal window to rebuild the service you're working on:
83
+
```
84
+
docker-compose up -d --build SERVICE
85
+
```
86
+
* For dev work you'll probably want to run in unauthenticated mode. To do this, change the `CMD` line in`groot-api-gateway/Dockerfile` to:
87
+
```
88
+
CMD ["./build/groot-api-gateway", "-u"]
89
+
```
90
+
* To view logs, run:
91
+
```
92
+
sudo docker-compose logs -f
93
+
```
94
+
95
+
## Legacy Instructions
39
96
*Note: It is necessary for you to have an ssh key (without a password if you want it to be even easier) attached to your github*
@@ -71,7 +128,7 @@ Groot is the next generation web application serving the UIUC Chapter of ACM. It
71
128
5. Run the ```dev_spinup.sh``` script to start up a dev instance of groot (will grab the latest version of each service on github)
72
129
6. Run the ```prod_spinup.sh``` script to start a production version of groot (will grab the latest version of each and place them in their respective containers, so you will need docker)
73
130
74
-
# First Time Setup
131
+
### First Time Setup
75
132
- Golang
76
133
+ Install Software
77
134
```sh
@@ -206,64 +263,6 @@ Groot is the next generation web application serving the UIUC Chapter of ACM. It
206
263
mysql> CREATE DATABASE groot_quotes_service;
207
264
```
208
265
209
-
## Deploying with Docker
210
-
211
-
1. Follow [these](https://docs.docker.com/compose/install/#uninstallation) instructions to install Docker and docker-compose.
5. Run the following command to grab the latest releases of all services, including the frontend
236
-
237
-
```sh
238
-
repo sync
239
-
```
240
-
241
-
6. Run the settings init script:
242
-
```sh
243
-
./scripts/docker_settings_init.sh
244
-
```
245
-
7. Start up Docker. (This may involve `docker-machine`if you're on a Mac)
246
-
8. Start the Docker containers:
247
-
```sh
248
-
docker-compose up
249
-
```
250
-
9. Wait for the image to build and startup. If it works, you'll be able to visit `https://0.0.0.0:5000`in a browser and see the deployed site. The Groot API will be available on port 8000.
251
-
252
-
Useful Notes:
253
-
254
-
* If you want to just rebuild one service (i.e. fordev work), you can keep the `docker-compose` command running, and run this commandin a separate terminal window to rebuild the service you're working on:
255
-
```
256
-
docker-compose up -d --build SERVICE
257
-
```
258
-
* For dev work you'll probably want to run in unauthenticated mode. To do this, change the `CMD` line in`groot-api-gateway/Dockerfile` to:
259
-
```
260
-
CMD ["./build/groot-api-gateway", "-u"]
261
-
```
262
-
* To view logs, run:
263
-
```
264
-
sudo docker-compose logs -f
265
-
```
266
-
267
266
## License
268
267
269
268
This project is licensed under the University of Illinois/NCSA Open Source License. For a full copy of this license take a look at the LICENSE file.
0 commit comments