Welcome to Sportwatch, a track meet management and data analytics mobile app
This will be a short guide to building Sportwatch on a new machine based on this guide
There is also no need to create a new project, as the config file is already present in this github.
First, install npm
then install cordova
npm install -g cordova
clone the repository
git clone https://github.com/LawnmowerDave/Sportwatch_app
cd Sportwatch_app
Add the platform of your choice, or both
cordova platform add android
cordova platform add ios
This should be installed automatically, but if not, run this command.
cordova plugin add cordova-sqlite-storage
This command must be run before every deploy at least on android. This will take the changes from the www folder to the rest
of your platforms.
cordova prepare <platform> // ios or android
For either android studio, go to the newly created android folder under platforms/ and import the project into android studio. You should be able to build and deploy to a device of your choice. Either click on the grade file or android studio should just recognize it.
For XCode, do the exact same thing but with the XCodeproj file. Look for ios under platforms/ and import the project. To be honest, I'm not sure about the ios stuff, it's all wizard stuff to me, just follow this guide