Grow.local is a SEAN stack app for plant care.
You need to have Curl, NodeJS/NPM, and HAProxy installed. I recommend using an install of Ubuntu Server or Raspberry Pi OS Lite.
You will need to change the hostname by editing /etc/hostname
to grow
or else the server will not work.
You may wish to enable SSH on your pi for remote management. Make sure you change the default password with passwd
if you open it up to ssh.
To install, run curl -sSL https://github.com/curieos/Grow.local-Server/releases/download/v0.1.2-1/setup.sh | bash
Once the script finishes, you will be asked to configure PM2, a Node-based process manager, to start on boot. Run the command given to do so.
Make sure you have the required dependencies installed.
Navigate to the directory and run npm install
to install the required npm packages.
The development node server can be started by running npm run dev
. The angular frontend can be run via ng serve
in a separate terminal.