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
@@ -273,36 +274,43 @@ The server also serves the pre-built `client` website from a static directory us
273
274
274
275
## Pre-built Server Docker Image (Client + Server) Development
275
276
276
-
Pre-built Docker images of the **server** and **client** for local development are also available on Docker Hub at:
277
+
This project also deploys the latest **client** and **server** development Docker images to Docker Hub on the creation of new Release/Tags. Pre-built Docker images for local development are available on Docker Hub at:
1. Pull the pre-built development Docker images using any of the two (2) options:
283
+
- Navigate to the gsites-components root project directory, then run:<br>
284
+
`docker compose -f docker-compose.dev.yml pull`
285
+
- Open a terminal and run:<br>
286
+
```
287
+
docker pull ciatphdev/firebase-users-admin:client
288
+
docker pull ciatphdev/firebase-users-admin:server
289
+
```
285
290
286
-
- Use with the docker-compose.dev.yml file (requires a `.env` file input parameter):<br>
287
-
`docker compose -f docker-compose.dev.yml pull`
291
+
2. Follow the instructions in the README files inside the **/client** and **/server** directories for more information on configuring and using the client and server apps.
- Docker run (requires a `.env` file input parameter):<br>
295
-
```
296
-
docker run -it --rm --env-file .env -p 3000:3000 ciatphdev/firebase-users-client:latest
297
-
docker run -it --rm --env-file .env -p 3001:3001 ciatphdev/firebase-users-server:latest
298
-
```
293
+
3. Run the development images using any of the two (2) options (requires a `.env` file input parameter):
294
+
- Run with Docker compose:<br>
295
+
`docker compose -f docker-compose.dev.yml up`
296
+
- Run with Docker:<br>
297
+
```
298
+
docker run -it --rm --env-file .env -p 3000:3000 ciatphdev/firebase-users-admin:client
299
+
docker run -it --rm --env-file .env -p 3001:3001 ciatphdev/firebase-users-admin:server
300
+
```
299
301
300
302
## Deploy with GitHub Actions
301
303
304
+
Deployment with GitHub Actions to live environments and Docker Hub is optional. Supply the following **GitHub Secrets** and **GitHUb Variables** if there is a need to deploy and push the client and server apps to live environments.
305
+
306
+
> [!INFO]
307
+
> Live server deployment to a new cloud hosting provider is currently under construction. Previous versions used to deploy it in a free-tier Heroku server.
308
+
302
309
### Requirements
303
310
304
311
1. Firebase project
305
312
- with Authentication (Email/Password) activated
313
+
- with Firebase Hosting activated (Refer to the `/client/.firebaserc` file for more information about the project structure)
0 commit comments