Skip to content

A self-hosted web application for offering and ordering food. (WIP)

License

Notifications You must be signed in to change notification settings

dominikbraun/foodunit

Repository files navigation

FoodUnit 3

Prerequisites

Running FoodUnit 3 natively requires:

Running FoodUnit 3 containerized requires:

Start FoodUnit natively

FoodUnit basically consists of an API server, an UI server, a migration tool and a backing database. In order to run the application natively, a local MySQL/MariaDB database is required.

Copy app.example.toml and rename it to app.toml. Fill in appropriate values. Do the same thing with ui/public/config.example.json.

If the database tables do not exist yet, run:

$ ./run-migration.sh

Then start the other components:

$ ./run-server.sh
$ ./run-ui.sh

If you want to change the default values, start the component manually with the corresponding flags. These scripts are intended for development only.

Start FoodUnit containerized

Just as mentioned above, copy and rename the configuration files. Then build and run the containers.

$ docker-compose up

You may run the containers yourself just with docker run, using the environment variables and volumes specified in docker-compose.yml.

These containers are intended for development only.

About

A self-hosted web application for offering and ordering food. (WIP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •