Guru Identity is the authorization server for the Giuru application
- .NET 6: download and install the latest version
- Node 20: download and install the latest Node 20 version
- Docker: to run ASP.NET Core web app, Node for SSR and Storybook in containers. Download and install the latest version
Add the following configuration to .env
file in the root of your project and fill with your details
COMPOSE_PROJECT_NAME=GIURU
GIURU_EXTERNAL_DNS_NAME_OR_IP=host.docker.internal
SUPPORTED_CULTURES=en,de,pl
DEFAULT_CULTURE=en
ORGANISATION_ID=[PUT_YOUR_ORGANISATION_ID]
STRAPI_AUTHORIZATION_KEY=[PUT_YOUR_STRAPI_AUTHORIZATION_KEY]
SENDER_EMAIL=[PUT_YOUR_APPLICATION_EMAIL]
SENDER_NAME=[PUT_YOUR_EMAIL_SENDER_NAME]
SENDGRID_API_KEY=[PUT_YOUR_SENDGRID_API_KEY_HERE_AND_NEVER_COMMIT]
SENDGRID_CREATE_ACCOUNT_TEMPLATE_ID=[PUT_YOUR_SENDGRID_CREATE_ACCOUNT_TEMPLATE_ID_HERE_AND_NEVER_COMMIT]
SENDGRID_RESET_PASSWORD_TEMPLATE_ID=[PUT_YOUR_SENDGRID_RESET_ACCOUNT_TEMPLATE_ID_HERE_AND_NEVER_COMMIT]
SENDGRID_TEAM_MEMBER_INVITATION_TEMPLATE_ID=[PUT_YOUR_SENDGRID_TEAM_MEMBER_INVITATION_TEMPLATE_ID_HERE_AND_NEVER_COMMIT]
-
Clone this repository
-
Execute the following commands from the /fe folder to build fe:
npm install --legacy-peer-deps
npm run build-fe
-
Open Visual Studio, set the docker-compose project as a startup project and hit F5