๐ค Developer Setup โ
Prerequisites โ
Before you begin, ensure you have the following tools installed:
Install slangroom-exec
โ
Download the appropriate slangroom-exec
binary for your OS from the releases page.
Add slangroom-exec
to PATH and make it executable:
bash
wget https://github.com/dyne/slangroom-exec/releases/latest/download/slangroom-exec-Linux-x86_64 -O slangroom-exec
chmod +x slangroom-exec
sudo cp slangroom-exec /usr/local/bin/
Install Pre-commit
โ
For most Linux distrubution, just do:
bash
sudo apt install pre-commit
Install slangroom-exec
โ
Setup Workspace โ
Clone the repository โ
bash
git clone https://github.com/ForkbombEu/credimi
Install dependencies โ
bash
cd credimi
mise trust
make credimi
Edit your .env file โ
Copy .env.example to .env
bash
cp ./webapp/.env.example ./webapp/.env
Then edit the .env file, particularly:
- set the absolute path in ROOT_DIR
- Get a token from https://www.certification.openid.net and add it in TOKEN
Copy ./webapp/env.example to
Start Development Server โ
bash
make dev
TIP
Use make help
to see all the commands available.