-
Notifications
You must be signed in to change notification settings - Fork 27
Quick setup
David Podhola edited this page Apr 10, 2021
·
1 revision
- clone the repository e.g.
git clone https://github.com/iDempiere-micro/erpjs.git
andcd erpjs
to the new cloned repository -
yarn
to install backend dependencies - copy
.env.sample
to.env
in the root folder - go to clients/admin folder and copy
.env.sample
to.env
-
(cd clients/admin && yarn)
to install admin client dependencies - open a new terminal and
yarn pg
to start PostgreSQL - open a new terminal and
yarn keycloak
to start Keycloak - open a new terminal and
yarn api:dev
to start API - open a browser and navigate to http://localhost:8080 to Keycloak, login with
admin
/admin
. Left top corner, "Add Realm", "Import" and use filerealm-export.json
from thedocs
folder of this repo. Click "Manage Users" (http://localhost:8080/auth/admin/master/console/#/realms/erpjs/users) and add a user with an email identical to theTECHNICAL_USER_EMAIL
from the root folder.env
file. After the user is created, go to the user details again, click "Credentials" and create a password in the "Reset Password" section, click "Reset Password" button. - open a new terminal and
(cd clients/admin && yarn)
to start the Admin client, a new browser window will open. Login with the user name and password of the technical user from the previous step. - Enjoy!