Giter Site home page Giter Site logo

Comments (4)

MatthewReed303 avatar MatthewReed303 commented on August 25, 2024

@abishur have you tried to install via docker? I recommend to use docker. Here is a docker compose you can use:

version: '3.5'

services:
    fuxa:
        image: frangoteam/fuxa:latest
        network_mode: "host"
        volumes:
            - ./fuxa_appdata:/usr/src/app/FUXA/server/_appdata
            - ./fuxa_db:/usr/src/app/FUXA/server/_db
            - ./fuxa_logs:/usr/src/app/FUXA/server/_logs
        environment:
            - TZ=Pacific/Auckland
        restart: always

from fuxa.

abishur avatar abishur commented on August 25, 2024

I'll give that a go. With the docker container is it possible to add in node modules? I was going to try and use the onoff module for use with the raspberry pi's gpio

from fuxa.

MatthewReed303 avatar MatthewReed303 commented on August 25, 2024

You can access the container directly and manually add them as a test, but if you restart docker they will be gone. You can clone the master branch and add the modules you need to the packages and then do a docker build with the added packages.

Another way would be via python and modbus to access the GPIO and modbus in Fuxa to control them?

from fuxa.

abishur avatar abishur commented on August 25, 2024

Using docker got it up and running. If I want to use the onoff module, do I add that to the package.json list in the docker container and run npm install again, or just run npm install -g onoff inside the container?

from fuxa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.