Skip to content

skosno/TechnologyConversationsBdd

 
 

Repository files navigation

TC Build Assistant

Build Status

Development prerequisites

Back-end

Scala Play/Activator SBT

Front-end

NodeJS with NPM

Grunt

Gulp

npm install -g grunt-cli
npm install -g gulp
npm install -D gulp-jasmine
npm install

IDEA project

Use the gen-idea sbt task to create Idea project files.

sbt gen-idea

Dependencies

Front-end dependencies can be installed by running following

npm install

npm install adds two directories:

  • public/node_modules
  • public/bower_components

Development

Front-end files need to pass the process of concatenation, uglification, annotation, testing...

To prepare front-end files execute:

gulp

To continuously run gulp js task, execute:

gulp watch

Running the application

To run the application in development mode (re-compiles with every change to the code):

activator run

To compile and run the application in production mode

activator stage
target/universal/stage/bin/tcbdd

Deployment to Heroku

heroku create --stack cedar --buildpack https://github.com/ddollar/heroku-buildpack-multi.git
git push heroku master

Deployment to development environment

activator run

Unit Tests

Front-end

All front-end JS unit tests are run as part of gulp. Alternative ways to run tests are described below.

Front-end unit testing

npm test

Front-end unit testing without installation and dependencies

grunt jasmine

Back-end

Back-end unit testing

activator ~test-quick

Functional Tests

Directory where PhantomJS, ChromeDriver and IEDriverServer are located must be in the system path.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CSS 60.5%
  • JavaScript 18.3%
  • Scala 18.1%
  • Groovy 1.7%
  • Other 1.4%