- Install vim, ConEmu, and mysgit
- Add "C:\Program Files (x86)\Vim\vim74" to Path system variable
- Install Vundle by cloning into %USERPROFILE%/vimfiles/bundle/Vundle.vim https://github.com/VundleVim/Vundle.vim/wiki/Vundle-for-Windows Gonna have to use this command (explained in link):
- git clone https://github.com/gmarik/Vundle.vim.git %USERPROFILE%/vimfiles/bundle/Vundle.vim
- Clone dotfiles from github git clone https://github.com/dphuang2/dotfiles.git
- Copy and paste dotfile into %USERPROFILE% directory
- Open ConEmu and import settings
- Run Vim from ConEmu and :PluginInstall!
- Download RailsInstaller: http://railsinstaller.org/en
- Open Git bash and run: curl http://installrails.com/update_rubygems.rb | ruby
- must "gem intall rails" to install rails
- bundler install: "gem install bundler"
Notes
- coffeescript doesn't work on windows so include this in Gemfile for every new rails project: gem 'coffee-script-source', '1.8.0' and run: bundle update coffee-script-source This is done to force coffeescript to older version that works for Windows
Solution explained: http://stackoverflow.com/a/28331807
- Download RailsInstaller (Ruby 2.2.4 version)
- Clone from github: https://github.com/berkmancenter/internet_monitor.git
- Gemfile specifies ruby version 2.1.6 so need to change to 2.2.4
- Install PostgreSQL
- "gem install pg"
- add C:\Program Files\PostgreSQL\9.5\bin to Path system variable this is to allow command line PostgreSQL tasks
- Create user: postgre w/ password: postgre use pgadmin or command line
- Run bundle
- rake db:setup
- Run rails server
Errors
- config/database.yml is missing (because it is included in .gitignore)
- Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (sqlite3 is not part of the bundle. Add it to Gemfile.) (LoadError)
- When visiting localhost: Could not find table 'categories' error in app/controllers/application_controller.rb:8:in `load_groups'
- Install PostgreSQL
- "gem install pg"
- Download apachi-nifi
- execute run-nifi in the bin folder
- open localhost:8080/nifi