This app helps you find interesting hiking locations.
This project was bootstrapped with Create React App.
- staging: TODO
- production: montehiking.com
node.js
:16.*
yarn
:1.22.*
tmux
:*
(optional, for local launch)
- install
node
,yarn
,tmux
# tmux
brew install tmux
-
(optional) run
chmod 0755 ./tmux.sh
-
run
yarn install
on repository root. -
run
./tmux.sh
OR run parallel:
yarn run watch:po
yarn run watch:storybook
yarn run watch
Just merge the changes into the main
branch.
- run
yarn install --frozen-lockfile
on repository root. - run
yarn run deploy
When the build completes, the app will be published to Github Pages.
In the project directory, you can run:
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!
See the section about deployment for more information.
Generate typescript-compatible dictionaries from .po files.
Build storybook stories as static website.
Publish the production bundle to Github Pages.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Generate typescript-compatible dictionaries from .po files in watch mode.
Runs the storybook in the development mode.
Open http://localhost:6006 to view it in the browser.
The page will reload if you make edits.
Run prettier.
See the documentation for the prettier
package for details.
Run eslint.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.