Messing around over the holiday…Just setting up and will figure out attaching them later. Different materials always make welding them tricky. Might figure out a mechanical connection…
Then and Now Volt Meter
Installing Gradle on OSX via HomeBrew
Recent selenium project required use of Gradle. Quickest way to install was via HomeBrew. No rocket science but I find if I don’t write this stuff down I lose it quickly.
Install HomeBrew if you don’t have it installed already: goto http://brew.sh/
[code language=”bash” gutter=”false”]/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
[/code]
Use HomeBrew to install gradle
[code language=”bash” gutter=”false”] brew install gradle [/code]
Pimped out Barrell Adjusters and another Faux Headset
Diamond Mills
Cleaning up and adjusting coming along pretty well. Arbor removal was stubborn but done. Cut some tubing on one of them just cuz…
Rewired all done and motors good. Rewired one of the coolant pumps…worked good until I reassembled…now showing some sparks. On the list but don’t plan to use them anyway.
More soon
Diamond M22 Horizontal Milling Machines
Two Diamond M22 Horizontal Mills. Picked up this morning and got them both into the shop. Trip was thankfully uneventful! One is more complete than the other…missing overarm bracket and one crank. Saved from county school system many years ago…very little wear and should clean up nice.
1000lb each
Made in LA..neat to find them on East coast.
Jenkins Install on AWS
Stolen from answer 1 – http://stackoverflow.com/questions/22415977/installing-and-managing-jenkins-on-amazon-linux
sudo yum update sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key sudo yum install jenkins service jenkins start sudo service jenkins start sudo chkconfig jenkins on
Jenkins will be used to build/deploy ruby on rails – install Ruby on Rails as prescribed in previous post: Rails on AWS
Sturmey Archer 3 Speed Fixed w/ Dyno Drum Brake
Ruby On Rails – AWS Linux
I have been working on setting up a Ruby on Rails project and using Amazon Web Services (AWS) to host it. AWS EC2 instance out of the box of course is not setup to run rails. After much trial and error I have narrowed down the setup process as listed below.
1 – Setup AWS EC2 Instance (your milage may vary – Assume you have setup EC2 instance before)
I used the following:
AMI – Amazon Linux AMI 2016.03.1 (HVM), SSD Volume Type – ami-f5f41398
Instance Type: General purpose t2.medium
2 – Setup Rails Environment
Connect to EC2 Instance (ssh via terminal)
ssh -i "****.pem" ec2-user@ec2-XX-XX-XXX-XX.compute-1.amazonaws.com
Always a good practice on new installs $ sudo yum update Install rvm for Ruby Version Management $ gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 $ curl -L https://get.rvm.io | bash -s stable $ source ~/.profile Install zlib-devel $ sudo yum install zlib-devel (don't exactly remember why this is needed - might be application specific) Install openssl $ rvm pkg install openssl $ rvm reinstall 2.0.0 --with-openssl-dir=/usr/local/rvm/usr (ruby version up for debate) my ruby project uses bundler - install it $ gem install bundler my application also require javascript $ sudo yum install nodejs npm --enablerepo=epel install git $ sudo yum install git $ git clone https://github.com/xxxxx/yourrepo.git $ cd yourrepo run bundle install (again, my app uses it - your app may have other install steps $ bundle install $ rails s You should see something like: varies depending on application server=> Booting WEBrick => Rails 3.2.12 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Connecting to database specified by database.yml [2016-05-24 13:56:28] INFO WEBrick 1.3.1 [2016-05-24 13:56:28] INFO ruby 2.0.0 (2015-12-16) [x86_64-linux] [2016-05-24 13:56:28] INFO WEBrick::HTTPServer#start: pid=27261 port=3000