Skip to content

craftship/pride-london-app

 
 

Repository files navigation

Pride in London App

CircleCI

Running

Prerequisites

  • Install Xcode from the App Store and accept the license agreement.
  • brew install node
  • brew install watchman
  • yarn global add react-native-cli

More information on getting started can be found here: https://facebook.github.io/react-native/docs/getting-started.html under the Building prodjects with React Native tab.

Environment Variables

In order to run the application locally you will need to find and add some environment variables to the project. These can be found in .env.example. Copy this file into another file called .env:

cp .env.example .env

And fill in the required variables from the appropriate developer portals (e.g. app.contentful.com/spaces/<space-id>/api/keys).

Running

iOS

  • yarn run-ios [--simulator="iPhone X"]

Android

The quickest way is to have an Android device connected with unknown sources enabled

  • yarn run-android

Instructions for setting up an Android emulator can be found here

Debugging

iOS: Press Cmd+R to reload \n Cmd+D or shake for dev

Android: Double tap R on your keyboard to reload,+, shake or press menu button for dev menu.

Generating test data

In order to fill the test CMS space with test data you can use our generate-content script. It goes without saying make sure you are doing this on a test CMS rather than production.

To generate test data:

node ./scripts/generate-content.js generate -s <space_id> -a <access_token>

To delete the generated data again:

node ./scripts/generate-content.js delete -s <space_id> -a <access_token>

Contributing

Pieces of work currently up for grabs will be listed on the issues page and tracked on the projects page. If you are able to work on the piece of work, comment on the issue. You can also discuss the feature in the isssue page. Be honest about if you have the time to work on it, there's no shame in parking a piece of work and letting someone else pick it up if you're too busy.

All Pull Requests are built by CircleCI Merging a Pull Request to the master branch will trigger a build number increase and deploy to TestFight for iOS device testing.

Submit your Pull Request from a repo fork and one of the core dev team will review and merge it.

Architecture Decision Records

We will keep a collection of records for "architecturally significant" decisions: those that affect the structure, non-functional characteristics, dependencies, interfaces, or construction techniques.

When making such changes please include a new ADR in your PR for future prosperity.

To find out more about ADRs have a read of this article: http://thinkrelevance.com/blog/2011/11/15/documenting-architecture-decisions

Links

About

Pride in London mobile app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.9%
  • Ruby 23.8%
  • Objective-C 11.7%
  • Python 4.6%
  • Java 4.0%