Netzke tutorial for rails 3
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
public
sandbox
script
test
.DS_Store
.gitignore
Gemfile
README
README.markdown
Rakefile
config.ru

README.markdown

Netzke tutorial - Rails 3

This is a port of the Netzke tutorial to run on Rails 3. It has been tested with Rails 3.beta4.

Installation and configuration

Install the netzke configurator gem:

gem install netzke_config

Configure netzke_config:

Create netzke folder mkdir -p ~/netzke

mate ~/netzke/modules.config

# mate ~/netzke/modules.config
netzke-core:rails3-works@kristianmandrup, netzke-basepack:rails3-works@kristianmandrup

Clone the tutorial app (or clone your own fork!!!)

gem clone http://github.com/kristianmandrup/netzke-tutorial-rails3.git

$ cd netzke-tutorial-rails3

Configure application using netzke_config

See netzke_config run options

$ netzke_config --help

Run netzke_config from the root of the application (force overwrite of any pre-existin symbolic links and download extjs 3.2.1)

netzke-tutorial-rails3 $ netzke_config --force-links --download --extjs ~/netzke/extjs

Note: If you are have problems installing extjs via netzke_config do it manualluy and create a symbolic link to public/extjs in the app.

Example: netzke-tutorial-rails3 $ ln -s ~/netzke/extjs-3.2.1 public/extjs

Install required gems in the Rails 3 app

netzke-tutorial-rails3 $ bundle install

Create database schema

netzke-tutorial-rails3 $ rake db:migrate

Populate database with data

netzke-tutorial-rails3 $ rake db:seed

Start server

netzke-tutorial-rails3 $ rails s

Future plans

  • Make sure all parts of tutorial work under Rails 3

  • Convert plugins into gems

  • Create Netke scaffolders

  • Create Netzke application generator

  • Create more Netzke widget generators