In partnership with the The Berkman Klein Center for Internet & Society at Harvard University.
Our goal is to create a kind of "internet weather app," a component of our larger Internet Monitor project that will allow users of mobile devices to check the status of the internet access, censorship, cybersecurity climates around the world, with both global and individual country views. We think this will be hugely valuable in spreading awareness of internet freedom and access issues, as well as providing convenient access to timely, high-quality data to journalists, researchers, and advocates. The app will provide, simple, striking data-rich visualizations, while being as easy to understand and use as an actual weather app. It will grab all the data it needs from our existing internet monitor api server.
Boilerplate from here
- Install Meteor
- Install React Native
- Clone Repo:
$ git clone https://github.com/hack4impact/berkman.git
- From the
RNApp
directory run$ npm install
Note: You must be on a Mac for this.
- From the
RNApp
directory run$ make ios
- Alternatively, run
$ react-native run-ios
- Alternatively, run
- Make sure you have an emulator configured and running.
- From the
RNApp
directory run$ make android
- Alternatively, run
$ react-native run-android
- Alternatively, run
Note: You must be on a Mac for this.
- Get the IP address of your machine (you can run
ipconfig getifaddr en1
to do so) - In
RNApp/ios/RNApp/AppDelegate.m
changelocalhost
to your machine's IP address - In
RNApp/app/config/settings.js
changelocalhost
to your machine's IP address - Plug your device into your computer (make sure it's on the same network)
- Open the project in Xcode
- Select your device in Xcode and press "Build and run"
For further information please reference the official docs.
- Make sure USB Debugging is enabled
- Plug your device into your computer
- Run
adb devices
to make sure your device shows up - Run
adb reverse tcp:8081 tcp:8081
- In
RNApp/app/config/settings.js
changelocalhost
inMETEOR_URL
to your computer's IP address (see note in "Running on Android" section on how to get your IP Address) - Run
react-native run-android
For further information please reference the official docs.
Contributions are welcome! Please refer to our Code of Conduct for more information.