-
Apply Credentials
- Open
src/config.ts
. - Enter your client credentials, API endpoints, or any other required configuration.
- Open
-
Install Dependencies
npm install
-
Build with Webpack
npm run compile npm run webpack
-
Launch in VS Code
- Open the project in Visual Studio Code.
- Press F5 to start a new VS Code instance with your extension (or application) loaded.
-
Generate the Environment
- Update your system and install required tools:
sudo apt-get update sudo apt-get install dos2unix
- Convert the script and execute it:
dos2unix generate_env.sh ./generate_env.sh
- Update your system and install required tools:
-
Build the Project
- Use Docker Compose to start the Gropius environment:
docker compose up
- Use Docker Compose to start the Gropius environment:
-
Log In
- Use the default admin credentials to log in:
Username: admin Password: admin
- Use the default admin credentials to log in:
-
Create an Auth Client
- Use Client Credential flow as System-Admin.
- Ensure the following:
- The client requires a secret.
- The client is marked as valid.
-
Download the Templates
- Obtain a prepared template file, e.g.,
templates 1.json
.
- Obtain a prepared template file, e.g.,
-
Clone the Templates Importer
- Clone the repository for the template importer:
git clone https://github.com/ccims/template-importer
- Clone the repository for the template importer:
-
Build and Run the Script
- Install dependencies and build the project:
npm i npm run build
- Run the importer script with your template file and credentials:
npm start <file_path> <client_id> <client_secret> [gropius_endpoint]
Example:
npm start '.\templates 1.json' ebd7bfaf-7136-4549-b0b3-17a8b16a104b 9755d60ecd5ee8d94f10b293cd8bba
<file_path>
: Path to the templates file (e.g.,templates.json
).<client_id>
and<client_secret>
: Credentials from the auth client.[gropius_endpoint]
: Optional. If omitted, defaults to a local or pre-configured endpoint.
- Install dependencies and build the project: