Skip to content

Commit 0b0208e

Browse files
committed
Update README.md and bin install and reinstall exe files
1 parent 06b2940 commit 0b0208e

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ With [Docker](https://www.docker.com/), you can start all the services
77
[Create React App Boilerplate](https://github.com/anthub-services/create-react-app-boilerplate),
88
and Postgres database) with one bash command.
99

10+
## Other Docker Boilerplates
11+
12+
[Docker for Node API Mockup Data and Client Boilerplates](https://github.com/anthub-services/docker-for-node-api-mockup-data-and-client-boilerplates)
13+
<br />
14+
[Docker for Rails API and Client Boilerplates](https://github.com/anthub-services/docker-for-rails-api-and-client-boilerplates)
15+
1016
## Docker
1117

1218
Download and install the [Docker Community Edition](https://www.docker.com/community-edition).
@@ -58,11 +64,12 @@ If the installation process is successful, both the API and client services shal
5864

5965
Use the following credentials to test different API responses. Default password for all accounts is `password`.
6066

61-
- **Admin User:** `admin@email.com` - can access all applications
62-
- **Admin User witout Settings page:** `admin_no_settings@email.com` - no access on admin Settings page
63-
- **User redirected to internal page:** `referrer@email.com` – when `redirect.url` is set without the domain,
64-
user shall be redirected to internal page if no location path (referrer) found on the Sign In page
65-
- **User redirected to external page:** `redirect@email.com` – when `redirect.external` and `redirect.url` are set,
66-
user shall be redirected to external page if no location path (referrer) found on the Sign In page
67-
- **Blocked User:** `blocked@email.com` – user is signed in but the account is blocked
68-
- **Unauthorized User:** simply enter wrong `email` and/or `password`
67+
| Name | Email | Description |
68+
|-------------------|------------------------|-------------|
69+
| Super Admin User | `superadmin@email.com` | Has wildcard access |
70+
| Admin User | `admin@email.com` | Has wildcard access but `Admin › Users › Delete` is excluded |
71+
| Common User | `user@email.com` | Can access `My Profile`, `Admin › Dashboard`, `Users`, `Users › View, and Settings` |
72+
| Referrer User | `referrer@email.com` | When `redirect` is set without the domain, e.i. `/admin/dashboard`, user shall be redirected to internal page if no location path (referrer) found on the Sign In page |
73+
| Redirect User | `redirect@email.com` | When `redirect` is set with complete URL, e.i. `https://github.com/anthub-services`, user shall be redirected to external page if no location path (referrer) found on the Sign In page |
74+
| Blocked User | `blocked@email.com` | User is signed in but the account is blocked |
75+
| Unauthorized User | `<any invalid email>` | Simply enter wrong `email` and/or `password` |

bin/install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ execute git clone git@github.com:anthub-services/create-react-app-boilerplate.gi
66

77
execute cp $PWD/api/.env.dist $PWD/api/.env
88
execute cp $PWD/client/.env.dist $PWD/client/.env
9+
execute cp -r $PWD/client/src/Config.dist $PWD/client/src/Config
910

1011
execute docker-compose build
1112

bin/reinstall

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ execute git clone git@github.com:anthub-services/create-react-app-boilerplate.gi
1010

1111
execute cp $PWD/api/.env.dist $PWD/api/.env
1212
execute cp $PWD/client/.env.dist $PWD/client/.env
13+
execute cp -r $PWD/client/src/Config.dist $PWD/client/src/Config
1314

1415
execute docker-compose build
1516

0 commit comments

Comments
 (0)