/sembly

Primary LanguageJavaScript

Sembly

Pithy project description

Team

  • Product Owner: Omar Mohamed
  • Scrum Master: Spencer Lopez
  • Development Team Members: Carlos Flores

Table of Contents

  1. Usage
  2. Requirements
  3. Development
  4. Installing Dependencies
  5. Testing 1. Adding Test Data
  6. Starting the App
  7. Team
  8. Contributing

Usage

Some usage instructions

Requirements

  • Node 0.10.x
  • Mongo
  • React-Native-Cli

Development

Installing Dependencies

From within the root directory:

npm install

From within Sembly directory:

npm install

Set up Android emulation on Ubuntu 16.04

  1. Run apt-get install lib32stdc++6 lib32z1 openjdk-8-jre openjdk-8-jdk
  2. Download and install Android Development Studio
  3. Follow the Getting Started guide.
  4. Install these Android SDKs
  5. Android 7.0 1. SDK Platform 1. Sources for Android SDK
  6. Android 6.0 1. SDK Platform 1. Sources for Android SDK 1. Google APIs System Image for your architecture
  7. Extras 1. Google Play services 1. Google Repository
  8. Install these Android SDK Tools
  9. 23.0.1
  10. 23.0.3
  11. (Optional) Install and configure Watchman.

Encountering weird errors? Try running ./gradlew clean (Thanks texas697!).

Testing

From within the root directory:

npm test

Adding Test Data

To prepopulate database for easier development... From within the root directory:

npm run populate

Starting the App

With your mongo database runnning Start the server from the root directory:

npm start

From the Sembly directory in one terminal:

npm start

and in another terminal:

npm run build

Start Android emulation on Ubuntu 16.04

  1. Start the application (instructions above)
  2. Start an emulated Android device or connect a device (Android version 6.0+)
  • Emulated
    1. Create an Android device (with Google APIs!)
    2. Start the emulated device
  • Connected device
    1. Enable USB Debugging on your device
    2. Get your device's vendor id (refer to the Android Docs this Facebook guide)
    3. Replace with your device's vendor id and run this command:
    • echo SUBSYSTEM=="usb", ATTR{idVendor}=="<VENDORID>", MODE="0666", GROUP="plugdev" | sudo tee /etc/udev/rules.d/51-android-usb.rules
    1. Confirm your device is connected (adb devices)
  1. Run react-native start & react-native run-android & wait

Roadmap

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.