Giter Club home page Giter Club logo

twu_29_books's Introduction

twu_29_Books

Development Environment Setup

For Mac:

  1. Clone the project repository using git.
  2. Install HomeBrew
  3. Run "brew install gradle"
  4. Run "gradle createDatabase" to create readerfeeder database
  5. Run "gradle createChangelogTable" to enable auto-migration
  6. Run "gradle updateDatabase" to load schemas and data for database
  7. Run "gradle build" to run all tests and build a WAR.
  8. Run "gradle jettyRun" to deploy using jetty.

For linux:

  1. Clone the project repository using git.
  2. Run "yum install gradle"
  3. Run "gradle createDatabase" to create readerfeeder database
  4. Run "gradle createChangelogTable" to enable auto-migration
  5. Run "gradle updateDatabase" to load schemas and data for database
  6. Run "gradle build" to run all tests and build a WAR.
  7. Run "gradle jettyRun" to deploy using jetty.

IntelliJ IDEA Setup

  1. Run "gradle idea" to create the project files
  2. Open the twu_29_Books.ipr file

Extra Notes

Please do "gradle build" before COMMITTING to the git repository. If the build failed, please DO NOT push your code to the repository as it can break the build in the CI server.

Setting Environment Variable

Jasmine Server

If you don't install jasmine, use "gem install jasmine"

rake jasmine: start jasmine server

visit the link given by server to run all jasmine test

Run specific functional/integration test

If you like to run all the functional or integration tests from a single test class:

Assume you want to run all the tests from SearchBookFunctionalTest, you can use this command: gradle functionaltest -Pfile=SearchBookFunctionalTest

Assume you want to run all the tests from BookMapperTest, you can use this command: gradle integrationtest -Pfile=SearchBookFunctionalTest

twu_29_books's People

Contributors

mopkobot avatar akshaykarle avatar xiasiyu avatar jeanne-wn avatar lavanyam210 avatar asuriel avatar amanking avatar hpathan avatar saumya14 avatar mariagomez avatar evaxia avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.