Front end powered by React & Ratchet.
Node must be installed.
npm update
will install all npm dependencies (defined in package.json
) into /node_modules/
.
Build libraries include gulp, browserify & reactify. See package.json
for more.
Build scaffolding based on fforw/gulp-react.
Use gulp
to just build, and gulp watch
to enable streaming build.
See gulpfile.js
for details.
Create new PhoneGap project:
cd ~/Sites/tradeya
mkdir cordova
cd cordova
git clone https://github.com/phonegap/phonegap-facebook-plugin.git
cordova create barchat com.tradeya.upped "Upped"
cd upped
cordova platform add ios
cordova -d plugin add ../phonegap-facebook-plugin --variable APP_ID="[...]" --variable APP_NAME="[...]"
cordova plugins add org.apache.cordova.inappbrowser
cordova plugin add org.apache.cordova.camera
cordova plugin add org.apache.cordova.statusbar
Add the following lines to config.xml
:
<preference name="webviewbounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
Use the following commands to "refresh" the PhoneGap project from your local copy of this repo:
rm -rf ~/Sites/tradeya/cordova/upped/www/*
cp -a ~/Sites/tradeya/upped/build/* ~/Sites/tradeya/cordova/upped/www
cd ~/Sites/tradeya/cordova/upped
cordova prepare
Open platforms/ios/BarChat.xcodeproj
in Xcode, click the play button to "build and run".
We track and estimate our work using GitHub issues, according to the following points system:
- 1 - XS (1-2 hours)
- 2 - S (2-4 hours)
- 3 - M (4-8 hours)
- 5 - L (2-3 days)
- 8 - XL (5 days)
Anything larger than XL should be broken down into smaller tasks.