Running CTIMS Application without Docker
CTIMS uses a mono repo structure, to set up CTIMS for local development, follow these steps:
Clone the repository
Install the dependencies
If prefer to start database without docker, you can run the
database/create_local.sh
script to initialize a mySQL service and seed the database.Can also start the database docker image in
/database
Make a copy of the frontend environment file
apps/web/.env.local.example
If running on different port, modify the
.env
file with any environment variables or port number changesMake a copy of the backend environment file
apps/api/.env.example
Modify the
.env
file with the necessary keycloak environment variables.If there are changes to the CTML schema, use Prisma ORM to initiate the database, first generate the Prisma client
You can use the
schema:format
task to format the schema if there are modifications. Push the schema to the database
Start the frontend and backend with the following target
Access CTIMS in your browser at
http://localhost:3000
.
Last updated