npm install
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you update code in src
.
You may also see any lint errors in the console.
The frontend is coded in JavaScript with the React framework (see documentation).
Get the name of your shell (bash
, zsh
, etc.):
ps
Depending on your shell, add this function to ~/.bashrc
, ~/.zshrc
, or other:
function cucumber() {
(docker run --rm -v "$(pwd)":/app --tty --net="host" --env APP_HOST="http://host.docker.internal:3000" benel/cucumber-capybara "$@")
}
Start a new terminal and test the following command:
cucumber --help
From the main folder of Hyperglosae, type the following command:
cucumber --fail-fast --quiet
npm run build
npm run preprod
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Open http://localhost:3000 to view it in your browser.