React based frontend for the "Web of comics"1 webapp.
[1] I will probably find a better name for this in the future ;-)
Set an environment variable called REACT_APP_HTTP_API= pointing to the base URL of the HTTP API.
You can do this by creating a file called .env which contains something like:
REACT_APP_HTTP_API='http://localhost:5000'
yarn install # if necessary
yarn start
To create the production-ready static files of the frontend run:
yarn build
If Docker is detected, this command will also create an image with an static web server and the build files. To run a container of this image, simply run:
yarn deploy