Giter Site home page Giter Site logo

joelibaceta / app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spacemeshos/app

0.0 2.0 0.0 26.42 MB

The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard πŸ¦πŸ“Š

License: MIT License

Ruby 16.24% TypeScript 61.07% Shell 0.84% Batchfile 0.49% Gherkin 0.61% JavaScript 12.25% HTML 8.50%

app's Introduction

Spacemesh logo Β 

Spacemesh App πŸ¦πŸ“Š

Browse Gitcoin Bounties

The cosmic Spacemesh App containing the Spacemesh Wallet and the Spacemesh Dashboard. This app is based on the Spacemesh Cosmic Apps Seed.

Design Concept

App Architecture

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.

Getting Started

  • Please head over to the wiki and read the product requirements and deisgn docs
  • Join our Dev Gitter Chat
  • We are actively looking for contributors, collaborators and maintainers. Get in touch via Gitter

Setup

  1. Clone the repo
git clone https://github.com/spacemeshos/app.git
  1. Follow these instructions for setting up a React Native project dev environment

Install project dependencies

yarn install

Development builds

web

yarn web

Mobile

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

Production builds

Mobile

yarn mobile

Web

yarn build

Desktop

yarn dist

Bundling for Android

yarn bundle-android

Building for OS X, Windows and Linux

yarn electron-pack

Android Dev Notes

  1. Follow the React Native instructions for installing Android dev tools

  2. 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
  1. Run the emulator with an Android 6 (with Google Play) device

  2. Update build-scripts/local.properties with the right path to your android sdk. Detailed instructions.

Tests

This seed uses Jest for unit testing and calabash-android for android automation testing.

Running Calabash Android Tests

  1. Install ruby
  2. Run bundle install
  3. Run bundle exec calabash-android run /path/to/android/apk/file

Running unit tests

yarn test

Known issues

  1. The name react-native was looked up in the Haste module map. Remove the haste-map- files from your tmp file and rebuild. For Linux 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-*

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.