Skip to content

Instantly share code, notes, and snippets.

@maasdesigner
Created August 15, 2013 22:41
Show Gist options
  • Save maasdesigner/6245625 to your computer and use it in GitHub Desktop.
Save maasdesigner/6245625 to your computer and use it in GitHub Desktop.
malika@ubuntu:/media/New Volume$ refinerycms metroproject --heroku
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create app/assets/stylesheets/application.css
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/views/layouts/application.html.erb
create app/mailers/.gitkeep
create app/models/.gitkeep
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create lib/assets
create lib/assets/.gitkeep
create log
create log/.gitkeep
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create script
create script/rails
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.gitkeep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.gitkeep
create vendor/plugins
create vendor/plugins/.gitkeep
apply /home/malika/.rvm/gems/ruby-1.9.3-p194/gems/refinerycms-2.0.10/templates/refinery/installer.rb
gsub Gemfile
run bundle install from "."
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.1)
Using multi_json (1.7.9)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Installing mime-types (1.24)
Using polyglot (0.3.3)
Using treetop (1.4.14)
Using mail (2.5.4)
Using actionmailer (3.2.13)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using bundler (1.3.5)
Using coffee-script-source (1.6.3)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.3)
Using json (1.8.0)
Using rdoc (3.12.2)
Using thor (0.18.1)
Using railties (3.2.13)
Using coffee-rails (3.2.2)
Using jquery-rails (2.0.3)
Using rails (3.2.13)
Using sass (3.2.10)
Using sass-rails (3.2.6)
Using sqlite3 (1.3.7)
Using uglifier (2.1.2)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
append Gemfile
run bundle install from "."
Updating git://github.com/refinery/refinerycms.git
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.1)
Using multi_json (1.7.9)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Using mime-types (1.24)
Using polyglot (0.3.3)
Using treetop (1.4.14)
Using mail (2.5.4)
Using actionmailer (3.2.13)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using acts_as_indexed (0.7.8)
Using awesome_nested_set (2.1.6)
Using babosa (0.3.11)
Using bcrypt-ruby (3.1.1)
Using bundler (1.3.5)
Using coffee-script-source (1.6.3)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.3)
Using json (1.8.0)
Using rdoc (3.12.2)
Using thor (0.18.1)
Using railties (3.2.13)
Using coffee-rails (3.2.2)
Using orm_adapter (0.0.7)
Using warden (1.1.1)
Using devise (2.0.5)
Using dragonfly (0.9.15)
Using friendly_id (4.0.10)
Using paper_trail (2.7.2)
Using globalize3 (0.3.0)
Using jquery-rails (2.0.3)
Using rails (3.2.13)
Using sass (3.2.10)
Using sass-rails (3.2.6)
Using truncate_html (0.5.5)
Using uglifier (2.1.2)
Using will_paginate (3.0.4)
Using refinerycms-core (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using refinerycms-authentication (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using refinerycms-dashboard (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using refinerycms-images (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using seo_meta (1.3.0)
Using refinerycms-pages (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using refinerycms-resources (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using refinerycms (2.0.10) from git://github.com/refinery/refinerycms.git (at 2-0-stable)
Using routing-filter (0.3.1)
Using refinerycms-i18n (2.0.2)
Using sqlite3 (1.3.7)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
rake db:create
generate refinery:cms --fresh-installation --heroku
remove public/index.html
remove app/views/layouts/application.html.erb
gsub Gemfile
append .gitignore
create app/views/sitemap/index.xml.builder
create config/database.yml.mysql
create config/database.yml.postgresql
create config/database.yml.sqlite3
create app/decorators/controllers/refinery/.gitkeep
create app/decorators/models/refinery/.gitkeep
insert config/routes.rb
create config/initializers/refinery/core.rb
rake refinery_authentication:install:migrations
Copied migration 20130815222843_create_refinerycms_authentication_schema.refinery_authentication.rb from refinery_authentication
create config/initializers/refinery/authentication.rb
rake refinery_resources:install:migrations
Copied migration 20130815222846_create_refinerycms_resources_schema.refinery_resources.rb from refinery_resources
create config/initializers/refinery/resources.rb
rake refinery_pages:install:migrations
Copied migration 20130815222849_create_refinerycms_pages_schema.refinery_pages.rb from refinery_pages
create config/initializers/refinery/pages.rb
append db/seeds.rb
rake refinery_images:install:migrations
Copied migration 20130815222852_create_refinerycms_images_schema.refinery_images.rb from refinery_images
create config/initializers/refinery/images.rb
create config/initializers/refinery/i18n.rb
rake railties:install:migrations
Copied migration 20130815222856_create_seo_meta.seo_meta_engine.rb from seo_meta_engine
rake db:create db:migrate
db/development.sqlite3 already exists
db/test.sqlite3 already exists
== CreateRefinerycmsAuthenticationSchema: migrating ==========================
-- create_table(:refinery_roles_users, {:id=>false})
-> 0.0009s
-- add_index(:refinery_roles_users, [:role_id, :user_id])
-> 0.0005s
-- add_index(:refinery_roles_users, [:user_id, :role_id])
-> 0.0006s
-- create_table(:refinery_roles)
-> 0.0010s
-- create_table(:refinery_user_plugins)
-> 0.0011s
-- add_index(:refinery_user_plugins, :name)
-> 0.0005s
-- add_index(:refinery_user_plugins, [:user_id, :name], {:unique=>true})
-> 0.0008s
-- create_table(:refinery_users)
-> 0.0021s
-- add_index(:refinery_users, :id)
-> 0.0005s
== CreateRefinerycmsAuthenticationSchema: migrated (0.0118s) =================
== CreateRefinerycmsResourcesSchema: migrating ===============================
-- create_table(:refinery_resources)
-> 0.0018s
== CreateRefinerycmsResourcesSchema: migrated (0.0020s) ======================
== CreateRefinerycmsPagesSchema: migrating ===================================
-- create_table(:refinery_page_parts)
-> 0.0016s
-- add_index(:refinery_page_parts, :id)
-> 0.0006s
-- add_index(:refinery_page_parts, :refinery_page_id)
-> 0.0005s
-- create_table(:refinery_pages)
-> 0.0068s
-- add_index(:refinery_pages, :depth)
-> 0.0007s
-- add_index(:refinery_pages, :id)
-> 0.0006s
-- add_index(:refinery_pages, :lft)
-> 0.0006s
-- add_index(:refinery_pages, :parent_id)
-> 0.0007s
-- add_index(:refinery_pages, :rgt)
-> 0.0011s
== CreateRefinerycmsPagesSchema: migrated (0.0259s) ==========================
== CreateRefinerycmsImagesSchema: migrating ==================================
-- create_table(:refinery_images)
-> 0.0016s
== CreateRefinerycmsImagesSchema: migrated (0.0018s) =========================
== CreateSeoMeta: migrating ==================================================
-- create_table(:seo_meta)
-> 0.0023s
-- add_index(:seo_meta, :id)
-> 0.0005s
-- add_index(:seo_meta, [:seo_meta_id, :seo_meta_type])
-> 0.0009s
== CreateSeoMeta: migrated (0.0045s) =========================================
rake db:seed
append Gemfile
append Gemfile
run bundle install from "."
Could not find gem 'fog (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
Initializing and committing to git..
run git init && git add . && git commit -am 'Created application using Refinery CMS 2.0.10' from "."
Initialized empty Git repository in /media/New Volume/metroproject/.git/
[master (root-commit) 3fbcd08] Created application using Refinery CMS 2.0.10
49 files changed, 1748 insertions(+)
create mode 100644 .gitignore
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
create mode 100644 README.rdoc
create mode 100644 Rakefile
create mode 100644 app/assets/images/rails.png
create mode 100644 app/assets/javascripts/application.js
create mode 100644 app/assets/stylesheets/application.css
create mode 100644 app/controllers/application_controller.rb
create mode 100644 app/decorators/controllers/refinery/.gitkeep
create mode 100644 app/decorators/models/refinery/.gitkeep
create mode 100644 app/helpers/application_helper.rb
create mode 100644 app/mailers/.gitkeep
create mode 100644 app/models/.gitkeep
create mode 100644 app/views/sitemap/index.xml.builder
create mode 100644 config.ru
create mode 100644 config/application.rb
create mode 100644 config/boot.rb
create mode 100644 config/database.yml
create mode 100644 config/database.yml.mysql
create mode 100644 config/database.yml.postgresql
create mode 100644 config/database.yml.sqlite3
create mode 100644 config/environment.rb
create mode 100644 config/environments/development.rb
create mode 100644 config/environments/production.rb
create mode 100644 config/environments/test.rb
create mode 100644 config/initializers/backtrace_silencers.rb
create mode 100644 config/initializers/inflections.rb
create mode 100644 config/initializers/mime_types.rb
create mode 100644 config/initializers/refinery/authentication.rb
create mode 100644 config/initializers/refinery/core.rb
create mode 100644 config/initializers/refinery/i18n.rb
create mode 100644 config/initializers/refinery/images.rb
create mode 100644 config/initializers/refinery/pages.rb
create mode 100644 config/initializers/refinery/resources.rb
create mode 100644 config/initializers/secret_token.rb
create mode 100644 config/initializers/session_store.rb
create mode 100644 config/initializers/wrap_parameters.rb
create mode 100644 config/locales/en.yml
create mode 100644 config/routes.rb
create mode 100644 db/migrate/20130815222843_create_refinerycms_authentication_schema.refinery_authentication.rb
create mode 100644 db/migrate/20130815222846_create_refinerycms_resources_schema.refinery_resources.rb
create mode 100644 db/migrate/20130815222849_create_refinerycms_pages_schema.refinery_pages.rb
create mode 100644 db/migrate/20130815222852_create_refinerycms_images_schema.refinery_images.rb
create mode 100644 db/migrate/20130815222856_create_seo_meta.seo_meta_engine.rb
create mode 100644 db/schema.rb
create mode 100644 db/seeds.rb
create mode 100644 doc/README_FOR_APP
create mode 100644 lib/assets/.gitkeep
create mode 100644 lib/tasks/.gitkeep
create mode 100644 log/.gitkeep
create mode 100644 public/404.html
create mode 100644 public/422.html
create mode 100644 public/500.html
create mode 100644 public/favicon.ico
create mode 100644 public/robots.txt
create mode 100755 script/rails
create mode 100644 vendor/assets/javascripts/.gitkeep
create mode 100644 vendor/assets/stylesheets/.gitkeep
create mode 100644 vendor/plugins/.gitkeep
Creating Heroku app..
run heroku create --stack cedar from "."
Could not find gem 'fog (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
Pushing to Heroku (this takes time, be patient)..
run git push heroku master from "."
fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Setting up the Heroku database..
run heroku run rake db:migrate from "."
Could not find gem 'fog (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
Restarting servers...
run heroku restart from "."
Could not find gem 'fog (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
============================================================================
Your new Refinery CMS application is now installed and mounts at '/'
============================================================================
run bundle install
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using i18n (0.6.1)
Using multi_json (1.7.9)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.3)
Using tilt (1.4.1)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Using mime-types (1.24)
Using polyglot (0.3.3)
Using treetop (1.4.14)
Using mail (2.5.4)
Using actionmailer (3.2.13)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using acts_as_indexed (0.7.8)
Installing addressable (2.3.5)
Using awesome_nested_set (2.1.6)
Using babosa (0.3.11)
Using bcrypt-ruby (3.1.1)
Using bundler (1.3.5)
Using coffee-script-source (1.6.3)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.3)
Using json (1.8.0)
Using rdoc (3.12.2)
Using thor (0.18.1)
Using railties (3.2.13)
Using coffee-rails (3.2.2)
Using orm_adapter (0.0.7)
Using warden (1.1.1)
Using devise (2.0.5)
Using dragonfly (0.9.15)
Using excon (0.25.3)
Installing formatador (0.2.4)
Installing net-ssh (2.6.8)
Installing net-scp (1.1.2)
Installing mini_portile (0.5.1)
Installing nokogiri (1.6.0)
Installing ruby-hmac (0.4.0)
Installing fog (1.14.0)
Errno::ENOSPC: No space left on device - /home/malika/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.14.0/lib/fog/linode/requests/dns/domain_list.rb
An error occurred while installing fog (1.14.0), and Bundler cannot continue.
Make sure that `gem install fog -v '1.14.0'` succeeds before bundling.
=== ACTION REQUIRED ===
Now you can launch your webserver using:
cd metroproject
rails server
This will launch the built-in webserver at port 3000.
You can now see Refinery running in your browser at http://localhost:3000/refinery
If you want files and images to work on Heroku, you will need setup S3:
heroku config:add S3_BUCKET=XXXXXXXXX S3_KEY=XXXXXXXXX S3_SECRET=XXXXXXXXXX S3_REGION=XXXXXXXXXX
Thanks for installing Refinery CMS, we hope you enjoy crafting your application!
---------
malika@ubuntu:/media/New Volume$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment