This is the repo for the official Cycle Planet platform. The platform is (soon) open source and free to use, which can be used to:
The platform is written in Vue.js, and makes use of the Quasar framwork. By making use of Cordova, an Android app and iOS app built. For persistent storage and user account management, it uses Google's Firebase backend-as-a-service.
Problems, feedback or questions are welcome in issues or on our Slack
Download or clone this repo, and then run the following command to install all dependencies:
npm install
Copy src/boot/config.example.js
to src/boot/config.js
.
Now either:
src/boot/config.js
based on the template in src/boot/config.example.js
.</>
button to add a web app. Copy the var firebaseConfig = ...
definition in the code snippet it gives you into src/boot/config.js
from this repo, replacing the placeholder in there. To be able to register and log in to your own development instance of CyclePlanet, enable the "Auth", "Database" and "Firestore" functionalities under "Build" in the menu on the left in the Firebase console.Start the Firebase Local Emulator Suite to have a back-end to test against:
npm run start-emulators
Start the app in development mode:
npm run dev
Now everything should be running and you should see a local copy of the CyclePlanet app in your browser. If not, contact us in #developing on Slack or create an issue here on Github.
Run on Android (cordova) - debug mode:
cd src-cordova
quasar dev -m cordova -T android
Run on iOS (cordova) - debug mode:
cd src-cordova
quasar build -m cordova -T ios
Run on Android (cordova) - build mode:
cd src-cordova
quasar build -m cordova -T android