Skip to content

Allakazan/home-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

The core repository for my home automation system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published