Skip to content
Snippets Groups Projects
user avatar
dcz authored
6410870a

ShellValier v2

Running the development environment

In order to run the development environment locally:

  1. Make sure you have Docker Desktop and Docker Compose installed.

  2. Build and run the project by executing:

     ./docker/scripts/run-docker
     
     docker-compose stop backend — bo reset_db.sh nie lubi jak coś się łączy do bazki
     docker-compose run backend bash — I w nim ./reset_db.sh
     docker-compose start backend

Working in the development environment

Whenever you need to establish an interactive bash session in the running applicaiton container, execute:

    ./docker/scripts/docker-bash

Deploying to production

In order to build the frontend Vue.js application for production execute the following command:

  docker-compose run frontend yarn build

Compiled application files will be located in frontend/dist/.