Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
fbshipit-source-id: ddcb55df54d1382bb3f003f7e62f0bfc195fb9b7
  • Loading branch information
expbot committed Aug 16, 2016
0 parents commit 2a38a11
Show file tree
Hide file tree
Showing 4,814 changed files with 575,526 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
103 changes: 103 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Xcode
.DS_Store
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.moved-aside
DerivedData
*.hmap
*.xccheckout
*.xcscmblueprint

# Android Studio
**/.idea/libraries
**/.idea/workspace.xml
**/.idea/gradle.xml
**/.idea/misc.xml
**/.idea/modules.xml
**/.idea/vcs.xml
*.iml
.gradle
/android/app/build
/android/build
/android/captures
/android/local.properties
/android/tools/build
/android/ReactAndroid/build
/android/app/libs/ReactAndroid-temp
/android/versioned-react-native/build
/android/versioned-react-native/local.properties
/android/versioned-react-native/ReactAndroid
ReactAndroid-temp.aar
*.apk

# Tools
jarjar-rules.txt

# Node
node_modules
npm-debug.log

# Hyperinstall
.hyperinstall-state.json

# Dynamic Macros
/ios/Exponent/Supporting/Generated/EXDynamicMacros.h
/android/app/src/main/java/host/exp/exponent/generated/ExponentBuildConstants.java
/android/app/src/androidTest/java/host/exp/exponent/generated/TestBuildConstants.java
.kernel-ngrok-url

# Python
*.pyc

# Sublime Text
*.sublime-project
*.sublime-workspace

# Floobits
.floo
.flooignore

# Vim temporary files
.*.swp
.*.swo
.*.swn
.*.swm

# Codemod
.codemod.bookmark

# Fastlane
/*.cer
/fastlane/report.xml
/fastlane/Preview.html
/Deployment
/Preview.html

# Emacs
*~

# CI
android/logcat.txt

# Shell apps
android-shell-app

# Template files
android/app/src/main/AndroidManifest.xml
android/app/google-services.json
android/app/src/main/java/host/exp/exponent/generated/ExponentKeys.java
android/app/fabric.properties
ios/Exponent/Supporting/Generated/EXKeys.h
ios/Podfile
ios/RCTTest.podspec

# Open source
ios/Podfile.lock
ios/Pods
3 changes: 3 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore_dirs": ["android/app/build", "android/build"]
}
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
BSD License

For Exponent software

Copyright (c) 2015-present, 650 Industries, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the names 650 Industries, Exponent, nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Exponent [![Slack](http://slack.exponentjs.com/badge.svg)](http://slack.exponentjs.com)

This is the Exponent app used to view experiences published to the Exponent service.

## Set Up

- `npm install` in `js` and `tools-public` directories.
- Install [the Gulp CLI](http://gulpjs.com/) globally: `npm i gulp-cli -g`.
- Run the packager with `cd tools-public && gulp`. Leave this running while you run the clients.

### Android
- Build and install Android with `cd android && ./run.sh`.

### iOS
- Install [Cocoapods](https://cocoapods.org/): `gem install cocoapods --no-ri --no-rdoc`.
- `cd tools-public && ./generate-files-ios.sh`.
- `cd ios && pod install`.
- Run iOS project by opening `ios/Exponent.xcworkspace` in Xcode.

## Project Layout

- `android` contains the Android project.
- `ios/Exponent.xcworkspace` is the Xcode workspace. Always open this instead of `Exponent.xcodeproj` because the workspace also loads the CocoaPods dependencies.
- `ios` contains the iOS project.
- `ios/Podfile` specifies the CocoaPods dependencies of the app.
- `js` contains the JavaScript source code of the app.
- `tools-public` contains programs to launch the packager and also build tools.
1 change: 1 addition & 0 deletions android/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2a38a11

Please sign in to comment.