While in the FlaskSQLAlchemyServer/
directory, run the following command:
python __init__.py
The server will now be up at http://localhost:4000 .
Have an android virtual device session running. Then, while in the root PlanIt/
directory run the following command (for android development):
react-native run-android
The client will now start up in your android virtual device session.
npm run test
*** Please run this & resolve failures before creating a PR or merging
npm run jslint
*** Please run this & resolve errors before creating a PR or merging
You can count the number of objects initialized in the Realm DB. For example:
{realm.objects('Dog').length}
If a new dependency is added, run the following command:
npm install
Or else the app won't start up properly.
If the realm schema is updated and throws an error prompting migration, uncomment the following line in realm.js
//Realm.clearTestState() // deletes all existing realm files
Then, reinstall the app. Make sure re-comment the line afterwards or else it'll delete the realm files every time realm.js is run.
https://github.com/gcanti/tcomb-form-native