Skip to content

Atelier-Epita/makerprint

Repository files navigation

maker-print

3D printer tool to manage and automate a bunch of 3d printers from a single device

Dev Installation

run everything with docker-compose

docker-compose up --build

change the docker-compose.yml file to match your setup (ports, volumes, etc.)

Dev docker compose

/!\ some stuff like connecting to a printer might not work because hypercorn --reload is daemonic so doesn't allow creation of child processes. (need to find a way to run this in a different way)

docker-compose -f docker-compose.dev.yml up --build

Frontend

Also make sure to change the `REACT_APP_API_URL` to match your setup.

### start the app

```bash
cd makerprint-app
npm install
npm run start # or npm run build to build the app

Here is an overview of the app: overview

Deploy

Login to docker registry

create a personnal access token with:

  • write:packages
  • read:packages
  • delete:packages
  • repo
echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin

Build and push the images

the app is being deployed on a raspberry pi, so we need to build according to it's architecture

docker buildx build --platform linux/arm64,linux/amd64 -t ghcr.io/atelier-epita/makerprint-api:latest --push ./makerprint
docker buildx build --platform linux/arm64,linux/amd64 -t ghcr.io/atelier-epita/makerprint-web:latest --push ./makerprint-web

About

3D printer tool to manage and automate a bunch of 3d printers from a single server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •