Skip to content
Snippets Groups Projects
Commit b9e023fb authored by Marek Veselý's avatar Marek Veselý Committed by Roman Dvořák
Browse files

Minor changes in texts

parent 905dfa66
No related branches found
No related tags found
No related merge requests found
## How to run the frontend ## How to run the frontend application
To run the frontend, you have two options, each with its own set of requirements. The first method utilizes [yarn](#running-with-yarn), while the second employs [Docker](#docker-deployment). To run the frontend, you have two options, each with its own set of requirements. The first method utilizes [yarn](#running-with-yarn), while the second employs [Docker](#docker-deployment).
...@@ -39,13 +39,13 @@ yarn build ...@@ -39,13 +39,13 @@ yarn build
## Docker deployment ## Docker deployment
Repository has a prepared Dockerfile so you can build the image: The repository has a prepared Dockerfile so you can build the image:
``` ```
docker build . -t inject-fe docker build . -t inject-fe
``` ```
To deploy the docker container: Run the following command to deploy the docker container:
``` ```
docker run -p 80:80 inject-fe docker run -p 80:80 inject-fe
...@@ -57,4 +57,4 @@ During runtime of the container it's required to bind the container to a given ` ...@@ -57,4 +57,4 @@ During runtime of the container it's required to bind the container to a given `
docker run -p 80:80 -e VITE_HTTP_HOST=secure-be.inject.muni.cz -e VITE_HTTP_WS=wss://secure-be.inject.muni.cz/ttxbackend/v1/graphql inject-fe docker run -p 80:80 -e VITE_HTTP_HOST=secure-be.inject.muni.cz -e VITE_HTTP_WS=wss://secure-be.inject.muni.cz/ttxbackend/v1/graphql inject-fe
``` ```
Please mind that changing environment variables requires restart of the container if done during the runtime. Please keep in mind that changing environment variables requires restarting the container if done during runtime.
\ No newline at end of file \ No newline at end of file
...@@ -12,7 +12,7 @@ Subrepos: ...@@ -12,7 +12,7 @@ Subrepos:
## How to run ## How to run
To ensure the frontend functions properly, it's crucial to have the backend up and running. Below are the steps to get backend operational: To ensure the frontend application functions properly, it's necessary to have a backend instance up and running. Follow these steps to run the backend application:
``` ```
# https://stackoverflow.com/questions/16773642/pull-git-submodules-after-cloning-project-from-github # https://stackoverflow.com/questions/16773642/pull-git-submodules-after-cloning-project-from-github
git submodule update --init git submodule update --init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment