One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # http://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # http://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # http://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # http://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` |
| var Promise = require('bluebird'); | |
| const Sequelize = require('sequelize'); | |
| const fs = Promise.promisifyAll(require('fs')); | |
| const _ = require('lodash'); | |
| const sequelize = new Sequelize(connectionString, { | |
| dialect: 'mysql', | |
| logging: false, | |
| pool: { // application-side connection pool configuration |
| emulator -list-avds | cat -n | |
| printf "Select AVD: " | |
| read index | |
| avd=$(emulator -list-avds | sed "${index}q;d") | |
| echo "Selected $avd" | |
| emulator -netdelay none -netspeed full -avd $avd |
| angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
| .run(function(DB) { | |
| DB.init(); | |
| }); |