linuxLinux

Welcome to the YourFamilyHub Installation Guide! Here you will find all commands nessary for starting front & backend.

triangle-exclamation

Prerequisites

  • Linux server with nginx installed

  • Node.js 18+ installed

  • Git installed

Installation

  1. Download and extract GoldFamily:

# Create directory for the application
sudo mkdir -p /var/www/YourFamilyHub
cd /var/www/YourFamilyHub

# Download the latest release
curl -L https://github.com/maxigoldy/YourFamilyHubHub/releases/latest/download/YourFamilyHubHub-dist.tar.gz | sudo tar -xz

# Set proper permissions
sudo chown -R www-data:www-data /var/www/YourFamilyHub
sudo chmod +x /var/www/YourFamilyHub/start.sh
  1. Install dependencies:

  1. Configure Nginx:

  1. Create systemd service:

  1. Verify installation:

  1. Access your application:

    • Open your browser and navigate to http://YourFamilyHub.local (or your server's IP)

    • Complete the initial setup by creating an admin account

    • Configure your family code and app name

Local Network Access

To access YourFamilyHub from other devices on your network:

  1. Find your server's IP address:

  1. Update nginx configuration:

  1. Access from other devices:

    • Use http://YOUR_SERVER_IP in any browser on your local network

Optional: Custom Domain

To use a custom local domain (e.g., family.home):

  1. Add to your router's DNS or each device's hosts file:

  1. Update nginx configuration:

Manual Setup (Alternative)

If you prefer to set up manually:

  1. Clone and build:

  1. Start the server:

  1. Configure nginx to serve the dist folder and proxy /api to your Node.js server

Backup

To backup your data:

To restore:

Troubleshooting

Service won't start

Database issues

Nginx issues

Development

To run in development mode:

Last updated