Gamifying the video annotation task of activity recognition.
- Download it
- npm install
- Set Up Facebook App
- Change 'DOMAIN' and 'PORT' in webpack.config.js
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('development'),
'DOMAIN': JSON.stringify('[HTTP://WWW_EXAMPLE_COM]'),
'PORT': JSON.stringify('[EX_7777]')
}
})
- Change 'clientID' 'clientSecret' 'callbackURL' in server/config/auth.js
module.exports = {
'facebookAuth' : {
'clientID' : '[YOUR_APP_ID]', // your App ID
'clientSecret' : '[YOUR_APP_SECRET]', // your App Secret
'callbackURL' : '[HTTP://WWW_EXAMPLE_COM:7777/auth/facebook/callback]',
'profileFields' : ['id', 'email', 'name']
}
};
- npm run build
- npm run server
- Access index page via port 7777