Skip to content

strzibny/invoicebarstandalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Standalone InvoiceBar

This repo shows usage of InvoiceBar Engine/RubyGem as a standalone application.

It simply loads the application at /.

Changes to the newly generated Rails app

Create a new Rails app:

$ rails new standalone

Specify the dependency:

# Gemfile
gem 'invoice_bar'

Update by running bundle command:

$ bundle

Load the Engine:

# config/routes.rb
mount InvoiceBar::Engine => "/"

Copy the migration files using rake:

$ rake invoice_bar:install:migrations

Create db and run migrations:

$ rake db:migrate

And run the app:

$ rails s

That`s it!

About

Outdated as InvoiceBar is now a classic app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published