Skip to content

Commit

Permalink
chore: update version text
Browse files Browse the repository at this point in the history
  • Loading branch information
ciatph committed Sep 30, 2024
1 parent 52e4e35 commit ebf9cfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ The server also serves the pre-built `client` website from a static directory us
### Steps

1. Pull the (production) **/server** [Docker image](https://hub.docker.com/repository/docker/ciatphdev/firebase-users-app) from Docker Hub.
- Find the latest version tag from https://hub.docker.com/r/ciatphdev/firebase-users-app, i.e., `v1.1.5`
- `docker pull ciatphdev/firebase-users-app:v1.1.5`
- Find the latest version tag from https://hub.docker.com/r/ciatphdev/firebase-users-app, i.e., `v1.1.6`
- `docker pull ciatphdev/firebase-users-app:v1.1.6`
2. Create a `.env` file.
- Read [**Installation - server #3**](#server) for more information.
- Replace the variables accordingly in the `.env` file. Set `ALLOW_CORS=0` to allow `Same Origin` requests. Read [**Option #2 - Client and Server Bundled in (1) Image and Service**](#option-2---client-and-server-bundled-in-1-image-and-service) for more information.
Expand All @@ -256,7 +256,7 @@ The server also serves the pre-built `client` website from a static directory us
docker run -it --rm \
--env-file .env \
-p 3001:3001 \
ciatphdev/firebase-users-admin-app:v1.1.5
ciatphdev/firebase-users-admin-app:v1.1.6
```
4. Run a script in the container to create the default `superadmin@gmail.com` account, if it does not yet exist in the Firestore database.
`docker exec -it firebase-users-admin-app npm run seed`
Expand Down
6 changes: 3 additions & 3 deletions server/src/utils/templates/header.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ firebase-users-admin's server component, hosting all the listed endpoints below
The server also serves a pre-built [`client`](https://github.com/ciatph/firebase-users-admin/tree/dev/client) website from a static directory using the `express.static()` middleware, following the build instructions from [**Option #2 - Client and Server Bundled in (1) Image and Service**](https://github.com/ciatph/firebase-users-admin#option-2---client-and-server-bundled-in-1-image-and-service).

1. Pull the (production) **/server** [Docker image](https://hub.docker.com/repository/docker/ciatphdev/firebase-users-app) from Docker Hub.
- Find the latest version tag from https://hub.docker.com/r/ciatphdev/firebase-users-app, i.e., `v1.1.5`
- `docker pull ciatphdev/firebase-users-app:v1.1.5`
- Find the latest version tag from https://hub.docker.com/r/ciatphdev/firebase-users-app, i.e., `v1.1.6`
- `docker pull ciatphdev/firebase-users-app:v1.1.6`
2. Create a `.env` file.
- Read [**Installation - server #3**](https://github.com/ciatph/firebase-users-admin#server) for more information.
- Replace the variables accordingly in the `.env` file. Set `ALLOW_CORS=0` to allow `Same Origin` requests. Read [**Option #2 - Client and Server Bundled in (1) Image and Service**](https://github.com/ciatph/firebase-users-admin#option-2---client-and-server-bundled-in-1-image-and-service) for more information.
Expand All @@ -40,7 +40,7 @@ The server also serves a pre-built [`client`](https://github.com/ciatph/firebase
docker run -it --rm \
--env-file .env
-p 3001:3001 \
ciatphdev/firebase-users-admin-app:v1.1.5
ciatphdev/firebase-users-admin-app:v1.1.6
```
4. Run a script in the container to create the default `superadmin@gmail.com` account, if it does not yet exist in the Firestore database.
`docker exec -it firebase-users-admin-app npm run seed`
Expand Down

0 comments on commit ebf9cfd

Please sign in to comment.