Skip to content

Sample Rail application to illustrate the usage of workflow-activerecord gem

License

Notifications You must be signed in to change notification settings

geekq/workflow-rails-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This is a sample Rails application to

  1. demonstrate the use of these libraries:
  1. and to test gem dependencies on gem release. S.also geekq/workflow-activerecord#1

To try it out

Start with an empty rbenv or rvm environment.

git clone git@github.com:geekq/workflow-rails-sample.git
cd workflow-rails-sample

gem install bundler
bundle install
bin/rails db:migrate db:seed
bin/rails server

Application created with

~/.rbenv/plugins/ruby-build/bin/ruby-build 2.5.1 ~/.rbenv/versions/sample1
~/.rbenv/plugins/ruby-build/bin/ruby-build 2.5.1 ~/.rbenv/versions/sample2
cd ~/projects/ruby
rbenv shell sample1
gem install rails -v '5.2'
rails new workflow-rails-sample
cd workflow-rails-sample
vim .gitignore
vim Gemfile
rbenv local sample2
gem install bundler
bundle install
bin/rails generate scaffold Article \
  title:string summary:string content:text workflow_state:string author:string

About

Sample Rail application to illustrate the usage of workflow-activerecord gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published