Allows you to track book reading progress and reading speed over time.
- Run
gradle buildto make sure depencies are compiled and project is setup correctly. - Run
gradle cleanto clean out the /build/ directory. - Run
gradle appStartWarto run app on localhost:8080/reading-app/
- Run
gradle appStop
Note: if running gradle does not work, try using an IDE like intellij or using ./gradlew instead.
Example: ./gradlew appStartWar
In order to run the actual app, all you need is a MySQL DB with a user dedicated. Insert the username and password to dev config file. (TODO: Add this config file) Then run the initialize.sql file along with any other data-conversions you're missing.
In order get the styles for the pages, you'll need to have NodeJS installed. Once installed, run the following to get going:
npm install -g bowernpm install --global gulpnpm install --save-dev gulpnpm install --save-dev gulp-bower
This will get you to the point that you can now download the node dependencies and run the gulp tasks. Before running tasks firs the first time, make sure to do npm install to download the latest dependencies.
To run all default tasks do gulp, to run a specific task to gulp {task-name}
To deploy, make sure that gradle.properties is updated with the correct tomcatHome path. Once that's known as correct, make sure that your ROOT directory in the tomcat home is a symbolic link to the current version you're building.
Once it's all the above is ready to go, run gradle deployToTomcat. NOTE: You might have to be sudo. I'll fix this later...