Coder Social home page Coder Social logo

hibiken / stories Goto Github PK

View Code? Open in Web Editor NEW
805.0 54.0 269.0 2.59 MB

Medium clone built with Ruby on Rails

Home Page: https://my-medium-clone.herokuapp.com/

License: MIT License

Ruby 52.63% JavaScript 14.49% CSS 13.95% HTML 18.93%
rails medium ruby blog social-network clone

stories's Introduction

Welcome to Stories

Stories on Github https://github.com/kenny-hibino/stories

Welcome to Stories. Stories is a Medium clone which began as [Ken Hibino](https://github.com/kenny-hibino “Ken Hibino”)'s personal side project to learn Ruby on Rails and ReactJS.

As the app was built screen casts tutorials were created to help other people learn... slowly it began to blossom into an elegant and powerful application and more people began to get involved, fixing bugs, improving the design and building the community.

If your keen to gain some new skills, get started by following the install and configuration below, join our gitter community, look for an "easy fix" in the issues list, make a topic branch and submit a pull request… lets learn together. :octocat:

Useful Links

News & Tutorials

Demo Application

Step by Step Install

Join the chat at https://gitter.im/kenny-hibino/stories

Watch a Quick Video

Stories on YouTube

License

Stories is released under the MIT License

stories's People

Contributors

ajaybarot avatar hibiken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stories's Issues

Install Issue: Rails on localhost

Very good instructions to get this going but I am a Rails n00b, so I hope someone can help. Everything went well but I have one annoying issue. RoR bound to localhost rather than 127.0.0.1. I am not sure why. When I try a curl from the local command line I can see stories running on http://localhost:3000 but not on http://127.0.0.1:3000

Anybody else run into this?

No work:

$ curl -I http://127.0.0.1:3000
HTTP/1.1 403 Forbidden
Server: nginx/1.8.1

Works:

$ curl -I http://localhost:3000
HTTP/1.1 200 OK
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Cache-Control: no-store, must-revalidate, private, max-age=0
Set-Cookie: request_method=HEAD; path=/
Set-Cookie: _stories_session=YURHN1FDaG41ZFo1bk1sWkpWNEtTQVp0VVVEMGVkVnhqMklETDR5MnBiZjBHLzkyek1wQ1ZGc0RhcXJQak00UnB5eEVoSzVwSStJelJFTnFpNGxZbWw3WGZhSmxhOUtBMkJyYTN1NzYya1pvS1pldHNZNi9qajloa1J1WDNtYjVIelVXdk0rNm1JM1phc3hUOFVHRHVBPT0tLXZuR0RVZzhUaUh0SkV2Mlo5dW90eFE9PQ%3D%3D--10f8b331fe6ded5d0f90f4ae314f7261bff62468; path=/; HttpOnly

Admin dashboard clean up

Admin dashboard needs improvement in CSS styling. This would be a good starting point to get familiar with the code base.

_feed.html.erb it seems not work!

Hi,

Feed.rb logic does work, but does not display the icon tag or the name. Nor if a post recommended does not show "Recommended by Stories ... and other 5".
Why is this happening?

Thanks!

Duplicate Slugs

When trying to publish a story with a slug that is the same as a story that is already published you get an error. Discovered by accident.

Installing

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?

Heroku build seems to be failing.

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.3.3
-----> Installing dependencies using bundler 1.15.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from https://rubygems.org/.......
       Fetching version metadata from https://rubygems.org/..
       Fetching dependency metadata from https://rubygems.org/.
       Fetching rake 11.1.2
       Fetching i18n 0.7.0
       Using json 1.8.3
       Fetching minitest 5.8.4
       Installing i18n 0.7.0
       Installing minitest 5.8.4
       Installing rake 11.1.2
       Fetching thread_safe 0.3.5
       Installing thread_safe 0.3.5
       Fetching builder 3.2.2
       Installing builder 3.2.2
       Fetching erubis 2.7.0
       Fetching mini_portile2 2.0.0
       Fetching rack 1.6.4
       Installing mini_portile2 2.0.0
       Installing erubis 2.7.0
       Fetching mime-types-data 3.2016.0221
       Installing rack 1.6.4
       Installing mime-types-data 3.2016.0221
       Fetching arel 6.0.3
       Installing arel 6.0.3
       Fetching execjs 2.6.0
       Installing execjs 2.6.0
       Fetching babel-source 5.8.35
       Fetching bcrypt 3.1.11
       Installing bcrypt 3.1.11 with native extensions
       Installing babel-source 5.8.35
       Fetching bonsai-elasticsearch-rails 0.0.4
       Fetching sass 3.4.21
       Installing bonsai-elasticsearch-rails 0.0.4
       Using bundler 1.15.2
       Fetching coffee-script-source 1.10.0
       Installing sass 3.4.21
       Installing coffee-script-source 1.10.0
       Fetching thor 0.19.1
       Installing thor 0.19.1
       Fetching concurrent-ruby 1.0.1
       Installing concurrent-ruby 1.0.1
       Fetching connection_pool 2.2.0
       Installing connection_pool 2.2.0
       Fetching dalli 2.7.6
       Fetching orm_adapter 0.5.0
       Installing orm_adapter 0.5.0
       Installing dalli 2.7.6
       Fetching multi_json 1.11.2
       Fetching multipart-post 2.0.0
       Installing multipart-post 2.0.0
       Installing multi_json 1.11.2
       Fetching hashie 3.4.3
       Fetching elasticsearch-rails 0.1.8
       Installing hashie 3.4.3
       Fetching excon 0.48.0
       Installing excon 0.48.0
       Installing elasticsearch-rails 0.1.8
       Fetching formatador 0.2.5
       Installing formatador 0.2.5
       Fetching inflecto 0.0.2
       Installing inflecto 0.0.2
       Fetching ipaddress 0.8.3
       Installing ipaddress 0.8.3
       Fetching jwt 1.5.1
       Fetching subexec 0.2.3
       Installing jwt 1.5.1
       Installing subexec 0.2.3
       Fetching multi_xml 0.5.5
       Fetching net-ssh 3.1.1
       Installing multi_xml 0.5.5
       Fetching oauth 0.5.1
       Installing net-ssh 3.1.1
       Installing oauth 0.5.1
       Fetching pg 0.18.4
       Fetching puma 2.16.0
       Installing pg 0.18.4 with native extensions
       Installing puma 2.16.0 with native extensions
       Fetching rails_serve_static_assets 0.0.5
       Installing rails_serve_static_assets 0.0.5
       Fetching rails_stdout_logging 0.0.5
       Installing rails_stdout_logging 0.0.5
       Fetching tilt 2.0.2
       Installing tilt 2.0.2
       Fetching redis 3.2.2
       Installing redis 3.2.2
       Fetching temple 0.7.6
       Installing temple 0.7.6
       Fetching will_paginate 3.1.0
       Installing will_paginate 3.1.0
       Fetching rdoc 4.2.2
       Installing rdoc 4.2.2
       Fetching tzinfo 1.2.2
       Installing tzinfo 1.2.2
       Fetching nokogiri 1.6.7.2
       Installing nokogiri 1.6.7.2 with native extensions
       Fetching mime-types 3.0
       Installing mime-types 3.0
       Fetching autoprefixer-rails 6.3.4
       Installing autoprefixer-rails 6.3.4
       Fetching uglifier 3.0.0
       Installing uglifier 3.0.0
       Fetching rack-test 0.6.3
       Installing rack-test 0.6.3
       Fetching warden 1.2.6
       Installing warden 1.2.6
       Fetching rack-protection 1.5.3
       Installing rack-protection 1.5.3
       Fetching babel-transpiler 0.7.0
       Installing babel-transpiler 0.7.0
       Fetching coffee-script 2.4.1
       Installing coffee-script 2.4.1
       Fetching font-awesome-sass 4.5.0
       Installing font-awesome-sass 4.5.0
       Fetching sprockets 3.6.0
       Installing sprockets 3.6.0
       Fetching faraday 0.9.2
       Installing faraday 0.9.2
       Fetching elasticsearch-api 1.0.15
       Installing elasticsearch-api 1.0.15
       Fetching omniauth 1.3.1
       Installing omniauth 1.3.1
       Fetching fog-core 1.36.0
       Installing fog-core 1.36.0
       Fetching mini_magick 3.8.0
       Installing mini_magick 3.8.0
       Fetching rails_12factor 0.0.2
       Installing rails_12factor 0.0.2
       Fetching sidekiq 4.1.1
       Installing sidekiq 4.1.1
       Fetching slim 3.0.6
       Installing slim 3.0.6
       Fetching sdoc 0.4.1
       Installing sdoc 0.4.1
       Fetching activesupport 4.2.6
       Installing activesupport 4.2.6
       Fetching mail 2.6.4
       Fetching bootstrap-sass 3.3.6
       Installing bootstrap-sass 3.3.6
       Installing mail 2.6.4
       Fetching sinatra 1.4.7
       Fetching elasticsearch-transport 1.0.15
       Installing sinatra 1.4.7
       Installing elasticsearch-transport 1.0.15
       Fetching oauth2 1.1.0
       Installing oauth2 1.1.0
       Fetching omniauth-oauth 1.1.0
       Fetching fog-json 1.0.2
       Installing fog-json 1.0.2
       Installing omniauth-oauth 1.1.0
       Fetching rails-deprecated_sanitizer 1.0.3
       Fetching globalid 0.3.6
       Installing globalid 0.3.6
       Installing rails-deprecated_sanitizer 1.0.3
       Fetching activemodel 4.2.6
       Fetching jbuilder 2.4.1
       Installing activemodel 4.2.6
       Installing jbuilder 2.4.1
       Fetching elasticsearch 1.0.15
       Fetching omniauth-oauth2 1.4.0
       Installing elasticsearch 1.0.15
       Installing omniauth-oauth2 1.4.0
       Fetching fog-brightbox 0.10.1
       Fetching fog-softlayer 1.1.0
       Installing fog-brightbox 0.10.1
       Installing fog-softlayer 1.1.0
       Fetching omniauth-twitter 1.2.1
       Fetching activejob 4.2.6
       Installing omniauth-twitter 1.2.1
       Installing activejob 4.2.6
       Fetching activerecord 4.2.6
       Fetching carrierwave 0.10.0
       Installing activerecord 4.2.6
       Installing carrierwave 0.10.0
       Fetching elasticsearch-model 0.1.8
       Installing elasticsearch-model 0.1.8
       Fetching omniauth-facebook 3.0.0
       Fetching omniauth-google-oauth2 0.3.1
       Installing omniauth-facebook 3.0.0
       Installing omniauth-google-oauth2 0.3.1
       Fetching friendly_id 5.1.0
       Installing friendly_id 5.1.0
       Fetching rails-dom-testing 1.0.7
       Fetching loofah 2.0.3
       Fetching fog 1.23.0
       Installing rails-dom-testing 1.0.7
       Installing loofah 2.0.3
       Fetching rails-html-sanitizer 1.0.3
       Installing rails-html-sanitizer 1.0.3
       Fetching actionview 4.2.6
       Installing actionview 4.2.6
       Installing fog 1.23.0
       Fetching actionpack 4.2.6
       Installing actionpack 4.2.6
       Fetching actionmailer 4.2.6
       Fetching railties 4.2.6
       Installing actionmailer 4.2.6
       Installing railties 4.2.6
       Fetching sprockets-rails 3.0.4
       Installing sprockets-rails 3.0.4
       Fetching coffee-rails 4.1.1
       Fetching responders 2.1.2
       Installing responders 2.1.2
       Installing coffee-rails 4.1.1
       Fetching jquery-rails 4.1.1
       Fetching jquery-ui-rails 5.0.5
       Installing jquery-ui-rails 5.0.5
       Installing jquery-rails 4.1.1
       Fetching rails 4.2.6
       Fetching react-rails 1.10.0
       Installing rails 4.2.6
       Installing react-rails 1.10.0
       Fetching sass-rails 5.0.4
       Installing sass-rails 5.0.4
       Fetching turbolinks 2.5.3
       Installing turbolinks 2.5.3
       Fetching devise 3.5.6
       Installing devise 3.5.6
       Bundle complete! 54 Gemfile dependencies, 108 gems now installed.
       Gems in the groups development and test were not installed.
       Bundled gems are installed into ./vendor/bundle.
       Post-install message from rdoc:
       Depending on your version of ruby, you may need to install ruby rdoc/ri data:
       <= 1.8.6 : unsupported
       = 1.8.7 : gem install rdoc-data; rdoc-data --install
       = 1.9.1 : gem install rdoc-data; rdoc-data --install
       >= 1.9.2 : nothing to do! Yay!
       The latest bundler is 1.16.0.pre.3, but you are currently running 1.15.2.
       To update, run `gem install bundler --pre`
       Bundle completed (27.19s)
       Cleaning up the bundler cache.
       The latest bundler is 1.16.0.pre.3, but you are currently running 1.15.2.
       To update, run `gem install bundler --pre`
-----> Installing node-v6.11.1-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/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
       Starting up a new ElasticSearch client with
       rake aborted!
       ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/fog-core-1.36.0/lib/fog/core/service.rb:244:in `validate_options'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/fog-core-1.36.0/lib/fog/core/service.rb:268:in `handle_settings'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/fog-core-1.36.0/lib/fog/core/service.rb:98:in `new'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/fog-core-1.36.0/lib/fog/core/services_mixin.rb:16:in `new'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/fog-core-1.36.0/lib/fog/storage.rb:27:in `new'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:83:in `eager_load_fog'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:96:in `fog_credentials='
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/config/initializers/carrierwave.rb:5:in `block in <top (required)>'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:118:in `configure'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/carrierwave-0.10.0/lib/carrierwave.rb:14:in `configure'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/config/initializers/carrierwave.rb:4:in `<top (required)>'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:652:in `block in load_config_initializer'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:166:in `instrument'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:651:in `load_config_initializer'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `each'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/engine.rb:615:in `block in <class:Engine>'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `each'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:44:in `tsort_each_child'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/config/environment.rb:5:in `<top (required)>'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:328:in `require_environment!'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:457:in `block in run_tasks_blocks'
       /tmp/build_2d4aa2b1fa94de850e899f1c74e4063a/gkua-stories-6cf9294/vendor/bundle/ruby/2.3.0/gems/sprockets-rails-3.0.4/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

CSS animation bug in older IE browsers

Currently, when you visit the site in older Internet Explorer browsers, there's bug with CSS animations on page load. Please add support for these older IE browsers or add Modernizr to detect older browsers

outdated ruby version

I followed installing-instruction but I keep see this message "Your Ruby version is 2.5.1, but your Gemfile specified 2.3.3".

How to fix it?
I need you update newest version.

Changing to Producton

Excuse me guys I have limited experience with RoR so this will be basic stuff.

I finally managed to get Stories running in production mode with:

RAILS_ENV=production bundle exec rake assets:precompile

I ran into a few errors but it was a matter of setting proper options in /config.

I then run my app with:

rails server -e production

My question is that most of the images (posts featured images and user avatars) are now linked to S3. I was wondering how do I properly configure this AND do I need to run a special command to copy all images to the S3 server?

I should have some improvements to contribute soon. Thanks!

Facebook Oauth is broken

I;m getting "invalid_credentials: OAuth2::Error "access_token" in the logs when I try to sign up, and I get the same error in the sample app at https://my-medium-clone.herokuapp.com - Twitetr Oaith works fine, FB does not. Can we hide the sample app from search engines or allow for a way to delete an account? This app will come up in results every time somebody searches our names now if account created via Oauth

Create 404 Error Page Design

  • Replace default rails error page with custom design. public/404.html
  • Requires inline css as it won't be able to use sass files.

Feed elements bug (does not appear)

Someone could find and fix the bug on the elements of the feed that no longer appear? @kenny-hibino
What do I mean? Here an image:

unnamed

I tried to return to the version of rails 4.2.4 and still does not appear. That functionality was cool 🙁 .

Image Upload

Hi Ken!, how you do it, when upload the profile image, the view is automatically updated without having to click on the submit button ?, you have a tutorial that explains this ?, you could help me with the js code?

Thank!

Login

yooo! we can't login to the account help please

Deleting a Post

Thought this might be useful to someone. You can delete a post from the rails console with:

Post.find(POST_ID).destroy

Replace POST_ID with the numerical ID of your post.

I was hoping there was a method to delete a tag in the API but I don't see it.

Untitled Draft Overload

I noticed that starting a new story but not writing any text still saves as a draft. This can result in a large number of drafts labeled as "untitled" if you just open the page to preview the editor.

Possible solution: detect content entry and then save as draft.

Medium Editor?

Hi Kenny, your tutorial series looks amazing. I think I'd quite like to give this a go.

Although you probably want to focus on your videos I had a suggestion for the the writing interface. Have you considered using Medium Editor?

Demo signup is broken

I couldn't signup using email or any social accounts.

I have this error

We're sorry, but something went wrong.

If you are the application owner check the logs for more information

Rebranding App

This is probably a super basic question - but I am having some trouble rebranding the app (changing the Stories image and placeholder text even...I am sure that there is some dependencies that I am missing. This is my first ruby/heroku app...can anyone provide guidance. I would be so grateful. Help. :)

Improve style and animation for flash message

Right now, our flash message component is using Bootstrap styles with "alert-success" and "alert-danger" CSS classes. We want to improve the design and the animation effect for this component.

Files you need to edit are:

  • app/assets/stylesheets/modules/_alert_message.scss
  • app/assets/javascripts/components/alert_message.es6.jsx

Come up with a new design and animation to improve this UI component! We are open to new ideas, so feel free to play around with it.

Where are these steps

Elasticsearch configuration

OAuth configuration

How to run the test suite

Services (job queues, cache servers, search engines, etc.)

Deployment instructions

iOS Bugs

Awesome project! Really hope this continues development?

I noticed the following bugs on iOS with an iPhone and iPad:

  • you cannot publish, you click the publish button but nothing happens.
  • cannot add inline images.
  • share button does not function.

Wish I could see what is happening, I'll have to try with a debugger of some type.

Moving to Phoenix (and elm?)

This project is great and greatly built.

Let's consider to port it as least under elixir/phoenix, together with channels

Then what about opportunity to implement an elm front-end ?

Using browser's back button

If you click 'Back Button' on browser or (swipe your magic mouse to left) after you click any link that changes the view (eg. Click on a tag), latest view slides down and the container remains empty.

Dumb question

What should the callback URL be for the landing page of this app? Once I authenticate through Twitter, Facebook, Google, etc...I get a not found error...I have poured through Redis and Apache logs and it doesn't seem to be any other cause.

Thank you in advance. :)

Response model should be Post

Hi , since in Medium a response is essentially a Story should the Response model be a Post with a parent relation ?

image

Install & Configuration Problem

Hello
I have some problem installation & configuration on Ubuntu 14.04 ec2.
I followed instruction and I change security rules in ec2 (ports etc.) but unfortunately when I check my ip on browser I could not connect to rails server.

Does anyone try to install it ec2 ? or do you have any recommendation ?
Cheers,
Oz.

Search not working

Hi Kenny,
I followed all the installarion instructions and got the project working every thing works fine except the search when i tried searching for post description I am getting this error Elasticsearch::Transport::Transport::Errors::BadRequest at /search
[400] {"error":{"root_cause":[{"type":"parsing_exception","reason":"no [query] registered for [filtered]","line":1,"col":22}],"type":"parsing_exception","reason":"no [query] registered for [filtered]","line":1,"col":22},"status":400}

Any idea how can i resolve this.Tried to solve it the entire day but could not solve it.Please help me to get the search functionality working.

installation in windows &linux

can you please update your installation guide to have the steps necessary to install the script in windows and Linux systems ????

how to integrate that in server (my Pc ) not localhost

i am student in a college , i wanna build a blog for my school , i like this open source project , but i don't have much money either a credit card , so i need an integration of server , to stock the data in my Pc as server

Installation Instructions

Greetings,

I am wondering if someone could update installation instructions.

It would be nice for Ubuntu 16.04 LTS and Debian.

Thanks

Redis::CannotConnectError in Users::SessionsController#create

Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)

I recently cloned this stories repo and while sign in I am facing this issue But i Don't have any idea on it.
screenshot from 2017-02-08 12 32 59

I don't think it is a bug It might be I am not properly configured this application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.