Frontend (written in React) for climbing websites. Backend: https://github.com/jossi87/climbing-ws.
This project uses Yarn as package manager
npm install --global yarn
Note: While installing new dependecies, it is necessary to use "yarn add -D" if its a dev dependency or just "yarn add" if its not. Do not use npm install, this will create a new package-lock.json which will interfere with the yarn.lock.
git clone https://github.com/jossi87/climbing-web.git
cd climbing-web
yarn
yarn dev
To use different environments, use the REACT_APP_API_URL
environment variable.
For example, here's one way to start a dev server pointing to a different site:
REACT_APP_API_URL=https://klatreforer.tromsoklatring.no yarn dev
To deploy this project run
yarn build
Check if code is ES6 compliant
yarn es6-check
Distributed under the GNU GENERAL PUBLIC LICENSE (Version 3): https://brattelinjer.no/gpl-3.0.txt
- Bouldering: buldreinfo.com
- Route climbing: brattelinjer.no
- Ice climbing: is.brattelinjer.no
- Jostein Oeygarden ([email protected])
- Project Link: https://github.com/jossi87/climbing-web