Giter Club home page Giter Club logo

campusapp's Introduction

CampusApp

DHBW Lörrach Campus App

Android: https://play.google.com/store/apps/details?id=de.dhbwloe.loerrach.campusapp

iOS: https://itunes.apple.com/de/app/dhbw-lorrach-campus-app/id1106917276

Setup

Assuming that React Native is already installed (see http://facebook.github.io/react-native/docs/getting-started.html), follow these steps:

  1. clone project with git (git clone [email protected]:DHBWLoerrach/CampusApp.git)
  2. in terminal, change to CampusApp directory (cd CampusApp)
  3. install npm packages (npm install)
  4. copy env.example.js to env.js (here you might need to fill in some data)

Launch app in iOS simulator (Mac only)

XCode needs to be installed.

Open terminal, cd into CampusApp directory and open iOS project in XCode:

open ios/CampusApp.xcodeproj

In XCode, build the project (Product > Build oder CMD-B). Once finished, XCode can be quit. This has to be done only once.

Now switch back to the terminal and run

react-native run-ios

Launch app in Android simulator

Please refer to https://facebook.github.io/react-native/docs/getting-started

Launch app on Android device

See also https://facebook.github.io/react-native/docs/running-on-device

Make sure Android device is in debug mode (enable developer options) and connect device via USB.

To access the development server from the Android device you need to use 'adb reverse':

adb -d reverse tcp:8081 tcp:8081

Open terminal/console, cd into CampusApp directory and run

react-native run-android

Live Reload and Debugging

Please refer to the React Native documentation to learn about live/hot reloading and debugging options (http://facebook.github.io/react-native/docs/debugging.html)

License

BSD 3-clause

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.