a decentralized hospitality exchange community for slow travellers
We're developing based on wireframes and design (WIP - do you want to help? Join our bi-weekly OpenHospitalityNetwork calls and tell us)
This is a single page application written in React.
You need Node v16. You can use nvm to switch to that particular version. You also need yarn.
-
Clone this repository on your computer
git clone https://github.com/OpenHospitalityNetwork/sleepy.bike.git
-
Go to the project directory
cd sleepy.bike
-
Install dependencies
yarn
-
Run the app
yarn start
You can also configure the app with environment variables, e.g.:
REACT_APP_COMMUNITY="https://community.example/community#us" REACT_APP_COMMUNITY_CONTAINER="community-example" yarn start`
We use Cypress to test the application.
To start the tests, run yarn cy:dev
, wait a bit, and Cypress will open. Select "E2E tests" from the options, then pick your preferred browser (Electron and Chromium work, Firefox fails), and select a test suite to run.