Giter Site home page Giter Site logo

MonteHiking

This app helps you find interesting hiking locations.

This project was bootstrapped with Create React App.

Infrastructure

Pre requirements

  • node.js: 16.*
  • yarn: 1.22.*
  • tmux: * (optional, for local launch)

Development

  1. install node, yarn, tmux
# tmux
brew install tmux
  1. (optional) run chmod 0755 ./tmux.sh

  2. run yarn install on repository root.

  3. run ./tmux.sh OR run parallel:

yarn run watch:po
yarn run watch:storybook
yarn run watch

Production

Just merge the changes into the main branch.

Manual deploy

  1. run yarn install --frozen-lockfile on repository root.
  2. run yarn run deploy

When the build completes, the app will be published to Github Pages.

Available Scripts

In the project directory, you can run:

yarn run build

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.

yarn run build:po

Generate typescript-compatible dictionaries from .po files.

yarn run build:storybook

Build storybook stories as static website.

yarn run deploy

Publish the production bundle to Github Pages.

yarn run watch

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.

yarn run watch:po

Generate typescript-compatible dictionaries from .po files in watch mode.

yarn run watch:storybook

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.

yarn run prettier

Run prettier.
See the documentation for the prettier package for details.

yarn run lint

Run eslint.

yarn run test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

montehiking's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.