hibiken / stories

Medium clone built with Ruby on Rails
https://my-medium-clone.herokuapp.com/
MIT License
826 stars 270 forks source link

Installing #2

Closed danleecreates closed 8 years ago

danleecreates commented 8 years ago

Hi Kenny, I cloned the app to have a play around with the code and make some pull requests - however when I run the app I get the following in my terminal:

split_gem_path': undefined methodsplit'

Any idea why?

hibiken commented 8 years ago

I haven't had that error before but try the following steps, and let me know if it solves the problem.

  1. Instal PostgreSQL, Elasticsearch and Redis. (if you're using mac I recommend Homebrew)
  2. Make sure the Ruby version is correct. I'm using Ruby v.2.3.0
  3. Run "bundle install"
  4. Run Postgres, Elasticsearch, and Redis
  5. Run "rails server"
  6. Run "bundle exec sidekiq -q elasticsearch -q mailer -c 3"

Follow these steps and let me know if that solves the problem. Thanks for cloning my repo and feel free to make pull requests!!

danleecreates commented 8 years ago

I did as you suggested but I'm still getting issues...

Here is the full error

/Users/danlee/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/path_support.rb:50:insplit_gem_path': undefined method split' for #<Array:0x007f93e2b75778> (NoMethodError) from /Users/danlee/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/path_support.rb:32:ininitialize' from /Users/danlee/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:351:in new' from /Users/danlee/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:351:inpaths=' from /Users/danlee/Sites/hobby/stories/bin/spring:11:in <top (required)>' from bin/rails:3:inload' from bin/rails:3:in <main>

hibiken commented 8 years ago

I see that you are using rvm for Ruby versioning. Give rbenv a try. Here's a good instruction on that https://gorails.com/setup/osx/10.10-yosemite and set the Ruby version to 2.3.0.

Let me know again, I'll try my very best to get you started on this project!

danleecreates commented 8 years ago

Ok I imploded rvm and used rbenv. I'm using Ruby version 2.3.0. I made sure I installed PostgreSQL, Elasticsearch and Redis. Installed the gems and ran rails server. I now get the following error. Any ideas?

Exiting /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:882:inrescue in block in connect': Failed to open TCP connection to localhost:9200 (Connection refused - connect(2) for "localhost" port 9200) (Faraday::ConnectionFailed) from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:879:in block in connect' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/timeout.rb:91:inblock in timeout' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/timeout.rb:101:in timeout' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:878:inconnect' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:863:in do_start' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:852:instart' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:1398:in request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-mini-profiler-0.9.8/lib/patches/net_patches.rb:7:inblock in request_with_mini_profiler' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-mini-profiler-0.9.8/lib/mini_profiler/profiling_methods.rb:38:in step' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-mini-profiler-0.9.8/lib/patches/net_patches.rb:6:inrequest_with_mini_profiler' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in perform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:inblock in call' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in with_net_http_connection' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:incall' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in build_response' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:inrun_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/faraday.rb:21:in block in perform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/base.rb:201:inperform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/transport/http/faraday.rb:20:in perform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-transport-1.0.15/lib/elasticsearch/transport/client.rb:125:inperform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/namespace/common.rb:21:in perform_request' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/elasticsearch-api-1.0.15/lib/elasticsearch/api/actions/indices/create.rb:77:increate' from /Users/danlee/Sites/hobby/stories/app/models/user.rb:86:in <top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:457:inload' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:457:in block in load_file' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:647:innew_constants_in' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:456:in load_file' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:354:inrequire_or_load' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:494:in load_missing_constant' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:184:inconst_missing' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:261:in const_get' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:261:inblock in constantize' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:in each' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:ininject' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/inflector/methods.rb:259:in constantize' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:566:inget' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:597:in constantize' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise.rb:292:inget' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/mapping.rb:81:in to' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/mapping.rb:76:inmodules' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/mapping.rb:93:in routes' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/mapping.rb:160:indefault_used_route' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/mapping.rb:70:in initialize' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise.rb:326:innew' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise.rb:326:in add_mapping' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/rails/routes.rb:238:inblock in devise_for' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/rails/routes.rb:237:in each' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/lib/devise/rails/routes.rb:237:indevise_for' from /Users/danlee/Sites/hobby/stories/config/routes.rb:6:in block in <top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:434:ininstance_exec' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:434:in eval_block' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:412:indraw' from /Users/danlee/Sites/hobby/stories/config/routes.rb:3:in <top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:inload' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in block in load' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:inload_dependency' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:268:in load' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:inblock in load_paths' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:in each' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:40:inload_paths' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:16:in reload!' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:26:inblock in updater' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/file_update_checker.rb:75:in execute' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:27:inupdater' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application/finisher.rb:69:inblock in module:Finisher' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:in instance_exec' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:30:inrun' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:55:in block in run_initializers' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:inblock in tsort_each' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:ineach_strongly_connected_component_from' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:ineach' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in call' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:ineach_strongly_connected_component' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in tsort_each' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:intsort_each' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/initializable.rb:54:in run_initializers' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/application.rb:352:ininitialize!' from /Users/danlee/Sites/hobby/stories/config/environment.rb:5:in <top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:inrequire' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in block in require' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:240:inload_dependency' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in require' from /Users/danlee/Sites/hobby/stories/config.ru:3:inblock in

' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in instance_eval' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:55:ininitialize' from /Users/danlee/Sites/hobby/stories/config.ru:in new' from /Users/danlee/Sites/hobby/stories/config.ru:in
' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in eval' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:49:innew_from_string' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in parse_file' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:299:inbuild_app_and_options_from_config' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:208:in app' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:61:inapp' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/server.rb:336:in wrapped_app' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:139:inlog_to_stdout' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/server.rb:78:in start' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:80:inblock in server' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:in tap' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:75:inserver' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in<top (required)>' from /Users/danlee/Sites/hobby/stories/bin/rails:9:in require' from /Users/danlee/Sites/hobby/stories/bin/rails:9:in<top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/client/rails.rb:28:in load' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/client/rails.rb:28:incall' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/client/command.rb:7:in call' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/client.rb:28:inrun' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/bin/spring:49:in <top (required)>' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/binstub.rb:11:inload' from /Users/danlee/.rvm/gems/ruby-2.3.0/gems/spring-1.6.3/lib/spring/binstub.rb:11:in <top (required)>' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /Users/danlee/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /Users/danlee/Sites/hobby/stories/bin/spring:13:in<top (required)>' from bin/rails:3:in load' from bin/rails:3:in
'`

hibiken commented 8 years ago

Can you navigate to localhost:9200 in the browser and make sure that Elasticsearch is running? It should look something like this

{
  "status" : 200,
  "name" : "Atalanta",
  "cluster_name" : "elasticsearch_kenhibino",
  "version" : {
    "number" : "1.7.3",
    "build_hash" : "05d4530971ef0ea46d0f4fa6ee64dbc8df659682",
    "build_timestamp" : "2015-10-15T09:14:17Z",
    "build_snapshot" : false,
    "lucene_version" : "4.10.4"
  },
  "tagline" : "You Know, for Search"
}
danleecreates commented 8 years ago

Ah looks like it wasn't running, odd. That seems to get past the issue but now it seems I need to create the database - how do I do that?

/Users/danlee/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:661:in `rescue in connect': FATAL: database "stories_development" does not exist (ActiveRecord::NoDatabaseError)

hibiken commented 8 years ago

Try running rake db:create and rake db:setup

danleecreates commented 8 years ago

Sorry about this Kenny, I'm getting there little by little.

I now get a error saying:

/Users/danlee/.rvm/gems/ruby-2.3.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: key "name" is duplicated and overwritten on line 80 stories_development already exists stories_test already exists rake aborted! ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "users" does not exist LINE 1: SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LI... ^ : SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1000

hibiken commented 8 years ago

No worries! Try running "rake db:migrate"

danleecreates commented 8 years ago

Ok now I get the following - it seems to be missing the table "users"...

/Users/danlee/.rvm/gems/ruby-2.3.0/gems/rack-mini-profiler-0.9.8/lib/patches/db/pg.rb:90:in `exec': PG::UndefinedTable: ERROR: relation "users" does not exist (ActiveRecord::StatementInvalid) LINE 1: SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LI...

hibiken commented 8 years ago

Just make sure that you are running Postgres and run rake db:migrate, and it should create all the tables you need

hibiken commented 8 years ago

Let me know if you are still having trouble installing!

danleecreates commented 8 years ago

Still struggling with this - I noticed that even though I imploaded rvm all the gems were getting installed in a rvm folder at /Users/danlee/.rvm/gems/ every time I ran bundle install. Should this be happening now that I'm using rbenv?

hibiken commented 8 years ago

I haven't used rvm personally so I'm not sure if that's causing the issue. I will try installing on my other machine when I get home today, see if I can figure out what's causing the issue. I'll get back to you tonight

danleecreates commented 8 years ago

Hi Kenny, did you have a go at this? I have made sure I'm not using rvm anymore. When I run rake db:migrate it seems to stumble. So near!

  1. warning: key "name" is duplicated and overwritten on line 80
  2. ERROR: relation "users" does not exist

/Users/danlee/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: key "name" is duplicated and overwritten on line 80 rake aborted! ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "users" does not exist LINE 1: SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LI...

hibiken commented 8 years ago

That first warning about "name" is something that's been around for a long time. I haven't gotten a chance to look into it. So don't worry about the first warning. Try commenting out user.rb and post.rb and run rake db:migrate and uncomment the files after migration is complete. It might have something to do with synching data in Elasticsearch with Postgres

danleecreates commented 8 years ago

Where do uncomment that out? Are you talking about the models? I tried with user.rb and post.rb in models and that didn't help.

rake aborted! LoadError: Unable to autoload constant User, expected /Users/danlee/Sites/hobby/stories/app/models/user.rb to define it /Users/danlee/Sites/hobby/stories/config/routes.rb:6:in block in <top (required)>' /Users/danlee/Sites/hobby/stories/config/routes.rb:3:in<top (required)>' /Users/danlee/Sites/hobby/stories/config/environment.rb:5:in `<top (required)>'

hibiken commented 8 years ago

After the class definition you will see a few lines of code that's related to importing data into Elasticsearch, comment out those line and see if rake db:migrate works.

danleecreates commented 8 years ago

Ok that worked! I'm live and ready to rumble.

hibiken commented 8 years ago

Sweet!! Thanks for your patience man.

Start by creating a topic branch with Git and play around with it.

To set the featured tags, you have to first create an admin user. ( Create an admin from Rails console and type something like "Admin.create(email: 'your@email.com', password: 'password', password_confimation: 'password')"

After that navigate to localhost:3000/admins/sign_in and input your email and password. and click on tags and you will see feature button and clicking on it will make the tag a featured tag.

Hit me up if you have any questions!

danleecreates commented 8 years ago

Ok - I tried running Admin.create(email: 'your@email.com', password: 'password', password_confimation: 'password') in the rails console and I get the following

ActiveRecord::UnknownAttributeError: unknown attribute 'password_confimation' for Admin.

hibiken commented 8 years ago

sorry it's just I made a typo there. it's 'password_confirmation' and i would replace those values with my own email and password

danleecreates commented 8 years ago

Brilliant - this project is ace!

danleecreates commented 8 years ago

Was just about to make pull request on a topic branch. Github for Mac is telling me I may not have permission to access Stories? I just wanted to check if this was the case?

hibiken commented 8 years ago

Do you mind telling me what change you made?

danleecreates commented 8 years ago

Sure - I have improved the reading experience - using the serif font instead of a san serif font in posts and the editing panel.

screen shot 2016-03-05 at 17 56 27
hibiken commented 8 years ago

Looks cool! I'll add you to the contributor list. Just make sure you make a topic brach and push it up. So that I can take a look at the changes you made.

Do you have a background in design? I could use some help in organizing Sass files in this project

danleecreates commented 8 years ago

Yes I'm a designer. That was my first Pull Request (on Github). I reckon if there was some good readme with instructions more people might contribute. Why did you begin the project? Just to learn?

hibiken commented 8 years ago

Yep, this started out as a little personal side project so that I can learn Ruby on Rails and React and other JavaScript libraries. It came out pretty decent so I decided to do a youtube series based on the project to help other people learn the technologies.

I agree. This project needs a good README to bring more people in. Do you mind writing a README for this project? You can use markdown or whatever format you want.

And let me know if you have ideas for new features or designs for this project. My email is ken.hibino7@gmail.com. Thanks for your first pull request!