Created
June 6, 2014 19:46
-
-
Save marjinal1st/209a0cfc7fad115ed8e7 to your computer and use it in GitHub Desktop.
cybele_log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add .editorconfig file | |
create .editorconfig | |
Add .ruby-version file | |
create .ruby-version | |
Add disable_xml_params.rb file to initilizers | |
create config/initializers/disable_xml_params.rb | |
Add paperclip.rb file to initilizers | |
create config/initializers/paperclip.rb | |
Setting up database | |
force config/database.yml | |
run bundle exec rake db:create | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
Remove files we don't need | |
remove README.rdoc | |
Replace files | |
remove app/views/layouts/application.html.erb | |
create app/views/layouts/application.html.haml | |
identical config/database.yml | |
Install gems | |
Install responder gem | |
create lib/application_responder.rb | |
remove app/controllers/application_controller.rb | |
create app/controllers/application_controller.rb | |
create lib/templates/rails/responders_controller/controller.rb | |
create config/locales/responders.en.yml | |
create config/locales/responders.tr.yml | |
remove .gitignore | |
create .gitignore | |
exist app/assets/images | |
identical app/assets/images/.keep | |
create db/migrate | |
create db/migrate/.keep | |
create spec/support | |
create spec/support/.keep | |
create spec/lib | |
create spec/lib/.keep | |
create spec/models | |
create spec/models/.keep | |
create spec/views | |
create spec/views/.keep | |
create spec/controllers | |
create spec/controllers/.keep | |
create spec/helpers | |
create spec/helpers/.keep | |
Setup bootstrap | |
insert config/application.rb | |
remove app/assets/javascripts/application.js | |
create app/assets/javascripts/application.js.coffee | |
remove app/assets/stylesheets/application.css | |
create app/assets/stylesheets/application.css.sass | |
Generate rails config | |
generate rails_config:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create config/initializers/rails_config.rb | |
create config/settings.yml | |
create config/settings.local.yml | |
create config/settings | |
create config/settings/development.yml | |
create config/settings/production.yml | |
create config/settings/test.yml | |
append .gitignore | |
Setting up the staging environment | |
run cp config/environments/production.rb config/environments/staging.rb from "." | |
prepend config/environments/staging.rb | |
prepend config/settings.yml | |
Setup mail settings | |
insert config/environments/development.rb | |
insert config/environments/test.rb | |
insert config/environments/production.rb | |
remove config/settings/production.yml | |
create config/settings/production.yml | |
create config/settings/staging.yml | |
insert config/environments/production.rb | |
insert config/environments/staging.rb | |
insert config/environments/development.rb | |
Generate rspec | |
generate rspec:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create .rspec | |
exist spec | |
create spec/spec_helper.rb | |
Generate capybara | |
insert spec/spec_helper.rb | |
insert spec/spec_helper.rb | |
Generate factory girl | |
insert spec/spec_helper.rb | |
Generate simple form files | |
generate simple_form:install --bootstrap | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create config/initializers/simple_form.rb | |
create config/initializers/simple_form_bootstrap.rb | |
exist config/locales | |
create config/locales/simple_form.en.yml | |
create lib/templates/haml/scaffold/_form.html.haml | |
=============================================================================== | |
Be sure to have a copy of the Bootstrap stylesheet available on your | |
application, you can get it on http://twitter.github.com/bootstrap. | |
Inside your views, use the 'simple_form_for' with one of the Bootstrap form | |
classes, '.form-horizontal', '.form-inline', '.form-search' or | |
'.form-vertical', as the following: | |
= simple_form_for(@user, html: {class: 'form-horizontal' }) do |form| | |
=============================================================================== | |
create config/locales/simple_form.tr.yml | |
create config/locales/tr.yml | |
Generate exception notification | |
Do not forget to configure config/initializers/exception_notification.rb file | |
generate exception_notification:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create config/initializers/exception_notification.rb | |
insert config/environments/production.rb | |
insert config/environments/staging.rb | |
insert config/initializers/exception_notification.rb | |
insert config/initializers/exception_notification.rb | |
Generate Welcome Page | |
create app/controllers/welcome_controller.rb | |
create app/views/welcome/index.html.haml | |
route root to: 'welcome#index' | |
Generate devise | |
generate devise:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create config/initializers/devise.rb | |
create config/locales/devise.en.yml | |
=============================================================================== | |
Some setup you must do manually if you haven't yet: | |
1. Ensure you have defined default url options in your environments files. Here | |
is an example of default_url_options appropriate for a development environment | |
in config/environments/development.rb: | |
config.action_mailer.default_url_options = { host: 'localhost:3000' } | |
In production, :host should be set to the actual host of your application. | |
2. Ensure you have defined root_url to *something* in your config/routes.rb. | |
For example: | |
root to: "home#index" | |
3. Ensure you have flash messages in app/views/layouts/application.html.erb. | |
For example: | |
<p class="notice"><%= notice %></p> | |
<p class="alert"><%= alert %></p> | |
4. If you are deploying on Heroku with Rails 3.2 only, you may want to set: | |
config.assets.initialize_on_precompile = false | |
On config/application.rb forcing your application to not access the DB | |
or load models when precompiling your assets. | |
5. You can copy Devise views (for customization) to your app by running: | |
rails g devise:views | |
=============================================================================== | |
gsub config/initializers/filter_parameter_logging.rb | |
gsub config/initializers/devise.rb | |
Adding devise user model | |
generate devise user name:string | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
invoke active_record | |
create db/migrate/20140606194323_devise_create_users.rb | |
create app/models/user.rb | |
invoke rspec | |
create spec/models/user_spec.rb | |
invoke factory_girl | |
create spec/factories/users.rb | |
insert app/models/user.rb | |
route devise_for :users | |
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. | |
create lib/user_sanitizer.rb | |
initializer sanitizers.rb | |
insert app/controllers/application_controller.rb | |
remove config/locales/devise.en.yml | |
create app/views/devise | |
create app/views/devise/confirmations/new.html.haml | |
create app/views/devise/mailer/confirmation_instructions.html.haml | |
create app/views/devise/mailer/reset_password_instructions.html.haml | |
create app/views/devise/mailer/unlock_instructions.html.haml | |
create app/views/devise/passwords/edit.html.haml | |
create app/views/devise/passwords/new.html.haml | |
create app/views/devise/registrations/edit.html.haml | |
create app/views/devise/registrations/new.html.haml | |
create app/views/devise/sessions/new.html.haml | |
create app/views/devise/shared/_links.haml | |
create app/views/devise/unlocks/new.html.haml | |
Setup time zone | |
Add set_user_time_zone method to application controller | |
insert app/controllers/application_controller.rb | |
insert app/controllers/application_controller.rb | |
Add time_zone to User model | |
generate migration AddTimeZoneToUser time_zone:string -s | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
invoke active_record | |
create db/migrate/20140606194327_add_time_zone_to_user.rb | |
insert config/environments/development.rb | |
Generate hq namespace | |
generate devise Admin | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
invoke active_record | |
create db/migrate/20140606194329_devise_create_admins.rb | |
create app/models/admin.rb | |
invoke rspec | |
create spec/models/admin_spec.rb | |
invoke factory_girl | |
create spec/factories/admins.rb | |
insert app/models/admin.rb | |
route devise_for :admins | |
insert config/routes.rb | |
create app/controllers/hq | |
create app/controllers/hq/admin_profiles_controller.rb | |
create app/controllers/hq/application_controller.rb | |
create app/controllers/hq/dashboard_controller.rb | |
create app/controllers/hq/sessions_controller.rb | |
create app/views/hq/dashboard/index.html.haml | |
create app/views/hq/sessions | |
create app/views/hq/sessions/new.html.haml | |
gsub config/routes.rb | |
gsub app/models/admin.rb | |
Configuring profile editors... | |
insert config/routes.rb | |
insert config/routes.rb | |
Setup profiles | |
Creating Profile Models | |
generate model user_profile first_name:string last_name:string gsm:string user:references -s | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
invoke active_record | |
create db/migrate/20140606194332_create_user_profiles.rb | |
create app/models/user_profile.rb | |
invoke rspec | |
create spec/models/user_profile_spec.rb | |
invoke factory_girl | |
create spec/factories/user_profiles.rb | |
generate model admin_profile first_name:string last_name:string gsm:string admin:references -s | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
invoke active_record | |
create db/migrate/20140606194335_create_admin_profiles.rb | |
create app/models/admin_profile.rb | |
invoke rspec | |
create spec/models/admin_profile_spec.rb | |
invoke factory_girl | |
create spec/factories/admin_profiles.rb | |
identical app/controllers/hq/admin_profiles_controller.rb | |
create app/controllers/user_profiles_controller.rb | |
create app/views/hq/admin_profiles | |
create app/views/hq/admin_profiles/_form.html.haml | |
create app/views/hq/admin_profiles/edit.html.haml | |
create app/views/hq/admin_profiles/new.html.haml | |
create app/views/hq/admin_profiles/show.html.haml | |
create app/views/user_profiles | |
create app/views/user_profiles/_form.html.haml | |
create app/views/user_profiles/edit.html.haml | |
create app/views/user_profiles/new.html.haml | |
create app/views/user_profiles/show.html.haml | |
insert app/models/user.rb | |
insert app/models/admin.rb | |
run bundle exec spring binstub --all | |
bundler: command not found: spring | |
Install missing gem executables with `bundle install` | |
remove lib/templates/rails/responders_controller/controller.rb | |
remove lib/templates/haml/scaffold/_form.html.haml | |
generate hierapolis:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
exist lib/templates/haml | |
create lib/templates/haml/scaffold/_blank.html.haml | |
create lib/templates/haml/scaffold/_filters.html.haml | |
create lib/templates/haml/scaffold/_form.html.haml | |
create lib/templates/haml/scaffold/_list.html.haml | |
create lib/templates/haml/scaffold/edit.html.haml | |
create lib/templates/haml/scaffold/index.html.haml | |
create lib/templates/haml/scaffold/new.html.haml | |
create lib/templates/haml/scaffold/show.html.haml | |
create lib/templates/haml/scaffold/single_entry.html.haml | |
exist lib/templates/rails | |
create lib/templates/rails/responders_controller/controller.rb | |
create lib/generators | |
create lib/generators/haml/scaffold/scaffold_generator.rb | |
create lib/generators/haml/scaffold/templates/_blank.html.haml | |
create lib/generators/haml/scaffold/templates/_filters.html.haml | |
create lib/generators/haml/scaffold/templates/_list.html.haml | |
create lib/generators/haml/scaffold/templates/single_entry.html.haml | |
create app/views/layouts/hq | |
create app/views/layouts/hq/application.html.haml | |
create app/views/layouts/hq/partials/_breadcrumb.haml | |
create app/views/layouts/hq/partials/_dock.haml | |
create app/views/layouts/hq/partials/_footer.haml | |
create app/views/layouts/hq/partials/_navbar.haml | |
create app/views/layouts/hq/partials/_toolbar.haml | |
exist app/views/layouts/hq/partials | |
identical app/views/layouts/hq/partials/_breadcrumb.haml | |
identical app/views/layouts/hq/partials/_dock.haml | |
identical app/views/layouts/hq/partials/_footer.haml | |
identical app/views/layouts/hq/partials/_navbar.haml | |
identical app/views/layouts/hq/partials/_toolbar.haml | |
create app/views/layouts/partials | |
create app/views/layouts/partials/_footer.haml | |
create app/views/layouts/partials/_trackers.haml | |
create app/views/layouts/login.html.haml | |
create app/assets/javascripts/hq | |
create app/assets/javascripts/hq/application.js.coffee | |
create app/assets/stylesheets/hq | |
create app/assets/stylesheets/hq/application.css.sass | |
remove config/initializers/simple_form.rb | |
remove config/initializers/simple_form_bootstrap.rb | |
create config/initializers/simple_form.rb | |
create config/initializers/simple_form_bootstrap.rb | |
run capify . from "." | |
[add] writing './Capfile' | |
[add] writing './config/deploy.rb' | |
[done] capified! | |
run rm config/deploy.rb from "." | |
generate recipes_matic:install | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
create config/deploy | |
create config/deploy/production.rb | |
create config/deploy/recipes/assets.rb | |
create config/deploy/recipes/backup.rb | |
create config/deploy/recipes/base.rb | |
create config/deploy/recipes/check.rb | |
create config/deploy/recipes/db.rb | |
create config/deploy/recipes/monit.rb | |
create config/deploy/recipes/nginx.rb | |
create config/deploy/recipes/postgresql.rb | |
create config/deploy/recipes/symlinks.rb | |
create config/deploy/recipes/templates/backup_model.erb | |
create config/deploy/recipes/templates/database.yml.erb | |
create config/deploy/recipes/templates/maintenance.html.erb | |
create config/deploy/recipes/templates/monit/monitrc.erb | |
create config/deploy/recipes/templates/monit/nginx.erb | |
create config/deploy/recipes/templates/monit/postgresql.erb | |
create config/deploy/recipes/templates/monit/unicorn.erb | |
create config/deploy/recipes/templates/nginx.production.erb | |
create config/deploy/recipes/templates/nginx.staging.erb | |
create config/deploy/recipes/templates/unicorn.rb.erb | |
create config/deploy/recipes/templates/unicorn_init.erb | |
create config/deploy/recipes/unicorn.rb | |
create config/deploy/recipes/whenever.rb | |
create config/deploy/staging.rb | |
create config/deploy.rb | |
remove config/initializers/secret_token.rb | |
create config/initializers/secret_token.rb | |
create config/initializers/show_for.rb | |
create lib/tasks/dev.rake | |
create app/views/errors/internal_server_error.html.haml | |
insert app/controllers/application_controller.rb | |
create app/views/errors/not_found.html.haml | |
insert app/controllers/application_controller.rb | |
Congratulations! That's all... | |
marjinal1st@trusty-thinkpad:~/Masaüstü$ cd Blog | |
ruby-2.1.1 is not installed. | |
To install do: 'rvm install ruby-2.1.1' | |
marjinal1st@trusty-thinkpad:~/Masaüstü/Blog$ rake db:migrate:status | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
Schema migrations table does not exist yet. | |
marjinal1st@trusty-thinkpad:~/Masaüstü/Blog$ rake db:migrate | |
MiniTest::Unit::TestCase is now Minitest::Test. From /home/marjinal1st/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' | |
== 20140606194323 DeviseCreateUsers: migrating ================================ | |
-- create_table(:users) | |
-> 0.0155s | |
-- add_index(:users, :email, {:unique=>true}) | |
-> 0.0052s | |
-- add_index(:users, :reset_password_token, {:unique=>true}) | |
-> 0.0049s | |
== 20140606194323 DeviseCreateUsers: migrated (0.0259s) ======================= | |
== 20140606194327 AddTimeZoneToUser: migrating ================================ | |
-- add_column(:users, :time_zone, :string) | |
-> 0.0011s | |
== 20140606194327 AddTimeZoneToUser: migrated (0.0013s) ======================= | |
== 20140606194329 DeviseCreateAdmins: migrating =============================== | |
-- create_table(:admins) | |
-> 0.0095s | |
-- add_index(:admins, :email, {:unique=>true}) | |
-> 0.0076s | |
-- add_index(:admins, :reset_password_token, {:unique=>true}) | |
-> 0.0056s | |
== 20140606194329 DeviseCreateAdmins: migrated (0.0233s) ====================== | |
== 20140606194332 CreateUserProfiles: migrating =============================== | |
-- create_table(:user_profiles) | |
-> 0.0161s | |
== 20140606194332 CreateUserProfiles: migrated (0.0162s) ====================== | |
== 20140606194335 CreateAdminProfiles: migrating ============================== | |
-- create_table(:admin_profiles) | |
-> 0.0179s | |
== 20140606194335 CreateAdminProfiles: migrated (0.0180s) ===================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment