Spacemesh App 🏦📊
This repo is depracted. The Spacemesh app is now developed here: smapp
The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard. This app is based on the Spacemesh Cosmic Apps Seed.
We are using Cosmic as the seed for this app. Please read-up on Cosmic app architecture before doing design and coding work on the app.
git clone https://github.com/spacemeshos/app.git
yarn install
yarn web
Remove all build directories (optional):
yarn clean-all
Generate android and ios builds:
yarn mobile
Serve App on Android Emulator:
yarn android
Serve App on iOS Simulator:
yarn ios
Start an Electron dev app session:
yarn electron-dev
yarn mobile
yarn build
yarn dist
yarn bundle-android
yarn electron-pack
Follow the React Native instructions for installing Android dev tools
Make sure you have JAVA_HOME env var set to the Java 8 JDK as well as your ANDROID_HOME
e.g: export JAVA_HOME=<path-to-your-jdk>/<jdk>/Contents/Home
export ANDROID_HOME=<path-to-your-android-sdk>
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
Run the emulator with an Android 6 (with Google Play) device
Update build-scripts/local.properties
with the right path to your android sdk. Detailed instructions.
This seed uses Jest for unit testing and calabash-android for android automation testing.
bundle install
bundle exec calabash-android run /path/to/android/apk/file
yarn test
rm -rf /tmp/haste-map-*
For OSX
yarn cache clean
watchman watch-del-all
rm -rf $TMPDIR/metro-bundler-cache-*
rm -rf $TMPDIR/metro-cache-*
rm -rf $TMPDIR/react-native-packager-cache-*
rm -rf $TMPDIR/haste-map-metro-*