setup
Pages 22
- Home
- Blueprint tutorial (Step 1): Intializing your project
- Blueprint tutorial (Step 2): Add carousel code
- Blueprint tutorial (Step 3): Making your project a blueprint
- Contribution guidelines
- Converting an existing project to a blueprint
- Creating dummy data for blueprints
- Dependencies
- Example blueprints
- File info: autotune build
- File info: autotune config.json
- Getting Autotune data into apps
- Getting started
- How does Autotune work?
- How does it work?
- How to create a blueprint
- Pym.js Tips & Tricks
- Reporting bugs
- setup
- Troubleshooting
- Using a blueprint
- xcvcxcx
- Show 7 more pages…
Autotune is a Rails engine that you can use in your own app.
Autotune will run on Unix systems, there is no intention to support Windows.
You'll need to setup a new Rails app to start. First follow the prereqs installation instruction to ready your dev environment.
Prereqs
On Mac OS X, we recommend using homebrew. Please follow the instructions to setup your dev environment.
Once homebrew installation is complete, install some things:
brew update
brew install redis sqliteRuby 2.2.2
Autotune is developed against Ruby 2.2.2 Mac OS X Yosemite ships with ruby 2.0. Autotune may run on ruby 2.0. I tried it once and it did.
The best way to get setup is to use a ruby manager such as rvm, rbenv, or chruby. You may also be able to install a new ruby via your package manager.
On Mac OS X:
brew install ruby-build rbenvBrew will show some instructions to finish rbenv setup. Please follow them. Once you finish that start a new terminal session. From there run:
rbenv install 2.2.2
rbenv global 2.2.2And start a new terminal session.
Autotune setup
With prerequisites installed, install the rails gem (you may have to sudo):
gem install railsThen create a new rails app:
rails new autotune_app -m https://raw.githubusercontent.com/voxmedia/autotune/master/rails_template.rbNow your autotune rails project is ready to go.
To start the server, run the following
cd autotune_app
bundle exec foreman startThe site will be running at http://localhost:3000.