Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| version: '3.8' | |
| services: | |
| db: | |
| ipc: host | |
| image: postgres:11.9-alpine | |
| ports: | |
| - "5432:5432" | |
| environment: | |
| - TERM=xterm | |
| - POSTGRES_PASSWORD=password |
| #!/bin/bash | |
| # initial OS updates and configuration | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo raspi-config | |
| sudo reboot | |
| passwd | |
| sudo apt-get update && sudo apt-get install ufw vim curl wget git -y |
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
Requires:
Homebrew (http://mxcl.github.io/homebrew/)
Ruby
Verify Homebrew is not sick:
brew doctor
| createuser --echo --createdb --encrypted --pwprompt --no-createrole --no-superuser carleyfamily | |
| createdb --echo --owner=carleyfamily -E utf8 carleyfamily_development | |
| createdb --echo --owner=carleyfamily -E utf8 carleyfamily_test |
| def select_from_chosen(item_text, options) | |
| field = find_field(options[:from]) | |
| option_value = page.evaluate_script("$(\"##{field[:id]} option:contains('#{item_text}')\").val()") | |
| page.execute_script("$('##{field[:id]}').val('#{option_value}')") | |
| end |
| require 'rubygems' | |
| require 'fog' | |
| require 'yaml' | |
| config = YAML::load_file(File.dirname(__FILE__) + '/config.yml') | |
| cf = Fog::AWS::CloudFormation.new( | |
| :aws_access_key_id => config['key'], | |
| :aws_secret_access_key => config['secret'] | |
| ) |
This Gist shows how to set up a Rails project to practice BDD with CoffeeScript, Guard and Jasmine. You can see this setup in action on Vimeo
bundle installmate Guardfilebundle exec jasmine initmate spec/support/yasmine.ymbundle exec guard