Skip to content

managemeals/manage-meals-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ManageMeals Web

This is the ManageMeals frontend, what you see at https://managemeals.com. It's a SvelteKit app.

Development

The backend needs to be running. Then setup the environment variables:

cp .env.example .env

After that, the app can be started:

npm install

npm run dev

Production

To build the app:

npm run build

Though for production that's done in a Dockerfile.

Expose ports by creating a file called docker-compose.override.yaml with the contents:

services:
  manage-meals-web-01:
    ports:
      - 8301:3000

  manage-meals-web-02:
    ports:
      - 8302:3000

  manage-meals-web-lb:
    ports:
      - 8309:80

Then start it up using docker-compose:

cp .env.docker.example .env.docker

make build

make upd