Development Stack

Gancio is built with following technologies:

Testing on your own machine

  1. Download source
    git clone https://framagit.org/les/gancio
    git checkout main
    
  2. Install bun
    curl -fsSL https://bun.sh/install | bash
    
  3. Install dependencies
    bun install
    
  4. Use a default sqlite configuration
    cp config.example.json config.json
    
  5. Run db migrations
    ./node_modules/.bin/sequelize db:migrate
    
  6. Create a first admin user
    ./server/cli.js users create admin secretpassword admin
    
  7. 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

  1. Build the container
    docker build -f Dockerfile.dev -t gancio .
    
  2. Install dependencies
    docker run -v $PWD:/home/node -it gancio bun install
    
  3. Hacking
    docker run -v $PWD:/home/node -it gancio
    

Table of contents