A frontend component for the Energy Union website.
Below is a list of commands you will probably find useful.
Runs the project in development mode.
You can view your application at http://localhost:3000
The page will reload if you make edits.
Builds the app for production to the build folder.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
Runs the compiled app in production.
You can again view your application at http://localhost:3000
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
Runs the test i18n runner which extracts all the translation strings and generates the needed files.
We use Docker, Rancher and Jenkins to deploy this application in production.
- Within
Rancher > Catalog > EEA
deploy Volto - Energy Union
- Create a new release of this code via
git tag
command or Draft new release on Github.- A new Docker image is built and released automatically on DockerHub based on this tag.
- A new entry is automatically added to Volto - Energy Union
EEA Rancher Catalog
- The Jenkins job
-
Within your Rancher environment click on the
Upgrade available
yellow button next to your stack. -
Confirm the upgrade
-
Or roll-back if something went wrong and abort the upgrade procedure.