
OpenTacos
OpenTacos is a proof-of-concept/MVP showing it’s possible to build a collaborative climbing route catalog.
Live demo 🚀
Tech stack
- Data: (see opentacos-content)
- Climbing route data such as name, grade, FA, etc are stored in human-readable text files (markdown syntax)
- Take advantage of folder and file structure to organize crag/area and climb relationship.
- Git-based CMS: Use Git for user management, access control, content review.
- Frontend: (this repo)
- Gatsby.js, React.js, TailwindCSS
Learn more about Jamstack
How to build
Make sure you have the following tools installed on your computer
- Install Gatsby CLI
npm install -g gatsby-cli
- Download the repo to your local machine
git clone [email protected]:OpenBeta/open-tacos.git
- Build the code
cd open-tacos
yarn install
- Download climb data to local cache
# Note: run this script as needed
./prebuild.sh
- Run the app
Since we are using Auth0 for authenticating users, development server needs to run in https mode.
You will be prompted to install additional components on the first run.
gatsby develop -S
- Optional: Run the app in docker
Requirements:
Docker
docker compose up
Changes in your local ./src file will be available on localhost:8000
If you install new packages you will need to rebuild the docker image with
docker compose up --build
The application is now available at https://localhost:8000
Troubleshooting
Windows development + opentacos-content
- Filename too long
fatal: cannot create directory at ‘content/USA/Washington/Central-East Cascades, Wenatchee, Leavenworth/Leavenworth/Tumwater Canyon/Bouldering in Tumwater Canyon/Beach and Forest Area, The/Beach Parking Boulders, The/Grasshopper, The’: Filename too long
# Solution
git config --system core.longpaths true
Some versions of Git installed on Windows use a different file API that limits the filename path length.
How to contribute
See How to contribute guide for more details.
Contributors
Thanks goes to these wonderful people:
This project follows the all-contributors specification. Contributions of any kind welcome.
License
AGPL
评论