Development Stack
Gancio is built with following technologies:
Testing on your own machine
- Download source
git clone https://framagit.org/les/gancio git checkout main
- Install bun
curl -fsSL https://bun.sh/install | bash
- Install dependencies
bun install
- Use a default sqlite configuration
cp config.example.json config.json
- Run db migrations
./node_modules/.bin/sequelize db:migrate
- Create a first admin user
./server/cli.js users create admin secretpassword admin
- Hacking
bun dev
Info
You can skip step n.5 and register the user from the UI, the first registered user will be an active administrator.
Using Docker
- Build the container
docker build -f Dockerfile.dev -t gancio .
- Install dependencies
docker run -v $PWD:/home/node -it gancio bun install
- Hacking
docker run -v $PWD:/home/node -it gancio