This is a Ratpack / AngularJS application that allows you to make your own Doogie Howser style journals.
Requirements
- MongoDB running locally
- JDK (7 or 8)
./gradlew run
In order to get the twitter integration working, you'll need to create an application and generate an access token on Twitter's development site.
Create a file src/ratpack/twitter4j.properties that looks like this:
oauth.consumerKey=*********************
oauth.consumerSecret=******************************************
oauth.accessToken=**************************************************
oauth.accessTokenSecret=******************************************
./gradlew test
Setup
npm install -g karma
npm install -g karma-cli
npm install
Running the tests
karma start src/test/js/karma.conf.js
Setup
npm install -g protractor
npm install
webdriver-manager
# Download and start selenium
webdriver-manager update
webdriver-manager start
See: Protractor Readme
Running the tests
Make sure both the app and selenium are running, then type:
protractor src/test/js/protractor.conf.js