DHS Flash Technical Challenge
Follow the installation steps below to get the Frontend AngularJS application running locally
- git clone https://github.com/STSILABS/flash-app.git
- cd flash-app
- cp src/app/app.example.config.js src/app/app.config.js
Use your favorite editor to update the app.config.js
file with necessary variables (URL Base Route and API Key)
- npm install -g bower-npm-resolver
- npm install
- bower install
- gulp serve
Note: You may have to run sudo npm install --global gulp-cli
Use the following command to run the unit tests for the application
gulp test
Prerequisites:
- Ruby 2.2.2
- bundler (
> gem install bundler
)
Setup:
> bundle install
to install cucumber & related tools- In
/features/support/hooks.rb
you can change the Capybara.app_host to hit different environments/urls
Running specs:
> cucumber
Tags:
In the /features/*.feature
files, you can tag a scenario (e.g. demo or debugging) with
@slow
to playback in slomo@pause
to pause and wait for command line input