https://github.com/skjutsgruppen/skjutsgruppen-reactnative
React native app for Skjutsgruppen http://www.skjutsgruppen.nu/
https://github.com/skjutsgruppen/skjutsgruppen-reactnative
react-native ridesharing skjutsgruppen
Last synced: 6 months ago
JSON representation
React native app for Skjutsgruppen http://www.skjutsgruppen.nu/
- Host: GitHub
- URL: https://github.com/skjutsgruppen/skjutsgruppen-reactnative
- Owner: Skjutsgruppen
- License: mit
- Created: 2017-08-22T06:00:43.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-03T03:48:27.000Z (over 3 years ago)
- Last Synced: 2024-02-02T17:07:06.640Z (over 2 years ago)
- Topics: react-native, ridesharing, skjutsgruppen
- Language: JavaScript
- Homepage:
- Size: 43.3 MB
- Stars: 22
- Watchers: 11
- Forks: 6
- Open Issues: 81
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Prerequisites
1. react-native
```
$ npm install -g react-native-cli
```
2. For Android
- Download Android SDK from here https://developer.android.com/studio/index.html#command-tools
## Install
```
$ git clone git@github.com:Skjutsgruppen/skjutsgruppen-reactnative.git
$ cd skjutsgruppen
$ yarn install
$ cp .env.example .env .env.production
```
Update .env config according to your need.
## For Android
### List all avds
```
$ cd /path/to/Android/Sdk/tools
$ ./emulator --list-avds
```
### Run app on android emulator
```
$ ./emulator -avd
$ yarn start
$ yarn android
```
## Upgrade React Native version
Install react-native-git-upgrade package globally
```
$ npm install -g react-native-git-upgrade
$ react-native-git-upgrade
```
## Style Guide
This project uses [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript)
So please read and be familiar with their style guide before contributing on this project.
## Lint javscript code
Run eslint before you commit changes.
```
yarn eslint
```