Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinmoec/Toodeloo-app-3910
https://github.com/martinmoec/Toodeloo-app-3910
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/martinmoec/Toodeloo-app-3910
- Owner: martinmoec
- Created: 2019-04-07T19:39:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-07T19:41:54.000Z (over 5 years ago)
- Last Synced: 2024-07-28T16:34:57.349Z (about 2 months ago)
- Language: F#
- Size: 241 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample app for the Toodeloo-3910 project
## Requirements
* Node.js
* Watchman
* React Native CLI
* .NET Core SDK >= 2.0.0
* XCode ( for iOS )## Setup
After cloning the respository cd into project root
* ```yarn```
* ```.paket/paket.exe init```
* ```.paket/paket.exe install```
* ```cd src```
* ```dotnet restore```## Running
### Set server endpoint in ./src/Constants.fs
### Start fable watch-server (enables auto-updating, optional)
From project root
* ```cd src```
* ```dotnet fable yarn-watch```Enables auto-updating when the F# project in ```src/``` is altered. Output is built to ```out/```.
### React-native
In project root
* iOS simulator: ```react-native run-ios```
* Android: ```react-native run-android```## Error handling
### iOS
* ```No bundle URL present``` :
- Try cleaning build-output, kill metro bundler and rebuild.
- ```rm -rf ios/build/; kill $(lsof -t -i:8081); react-native run-ios```
* ```Entry, ":CFBundleIdentifier", Does Not Exist``` and similar
- open ```ios/ReactNativeApp.xcodeproj``` in XCode
- File -> Project Settings... -> Advanced
- Set build location to Custom
- Replace ```Build/..``` with ```build/Build/...``` for the Products and Intermediates entries
- E.g
- Products: ```build/Build/Products```
- Intermediates: ```build/Build/Intermediates.noindex```### Android
* Licenses not accepted
- run ```/sdk/tools/bin/sdkmanager --licenses``` and accept all