-
Notifications
You must be signed in to change notification settings - Fork 73
Development
This guide covers how you can work on Invio on your local machine. I have tested this on both the latest version of windows 11, and the latest version of linux (CachyOS). I have no solid way to run a test docker build yet, planned for the future though.
Local Dev Server
Required
Handy
- To generate PDFS you will need to install WeasyPrint on your sytem
Clone the repository on your local machine. (if you haven't already)
git clone https://github.com/kittendevv/Invio.git && cd InvioCreate .env file in the /backend directory.
ADMIN_USER=admin
ADMIN_PASS=admin
JWT_SECRET=change-me-in-productionCreate .env file in the /frontend directory.
ORIGIN=http://localhost:8000Install dependencies
cd frontend && bun installcd backend && deno installStart backend and frontend
cd frontend && bun devcd backend && deno task devVisit http://localhost:5173 (if you set a different port this might be different for you)
docker-compose-dev.yml
Required
- Docker installed on system
- Docker Compose Plugin installed on system
Clone the repository on your local machine. (if you haven't already)
git clone https://github.com/kittendevv/Invio.git && cd InvioCreate .env file in the root directory.
ADMIN_USER=admin
ADMIN_PASS=admin
ORIGIN=http://localhost:8000
JWT_SECRET=change-me-in-productionSpin up the docker container from docker-compose-dev.yml (the only difference with the normal compose file is that it builds locally)
docker compose -f docker-compose-dev.yml up --build