Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 964 Bytes

README.MD

File metadata and controls

74 lines (46 loc) · 964 Bytes

Allpunks Home Automation

About

This is the the core for my Home Automation solution.

Dependencies

Instructions

Install dependencies

Run this inside api and client folders

$ npm install

Build

Run this inside api folder only

$ npm run build

Start containers

Run this on project root folder

$ docker-compose build
$ docker-compose up -d

Now you are ready to go ;)

Prisma Stuff (api local only)

Prisma Studio

$ npm rum prisma:studio

Migrate

Before running a migration localy please stop the docker container for the api

$ npm rum prisma:migrate

Seed

$ npm rum prisma:seed

Troubleshooting

Installing new packages

On installing new packages (api or client), run this command:

$ docker-compose up --build -d -V [CONTAINER]