Giter Site home page Giter Site logo

tsurupin / portfolio Goto Github PK

View Code? Open in Web Editor NEW
721.0 721.0 151.0 55.01 MB

A blog and Portfolio CMS built with Rails, React, Redux, Material-UI, CSS Modules.

Home Page: http://staging.tsurupin.com

License: MIT License

Ruby 43.74% JavaScript 42.68% CSS 12.28% HTML 1.08% Shell 0.23%

portfolio's Introduction

CircleCI Code Climate

Portfolio is a simple blog and portfolio CMS written in React/Redux(Frontend) and Rails(API)

Demo

client

Live version: http://staging.tsurupin.com

cms

Live version: http://staging.tsurupin.com/cms

sample account

You can sign in to the demo account with the following info.

Email Password
[email protected] sample_password

*All the data in the demo are dummy.

Motivation

I created this app for the reason I wanted to make my own blog and learn full Redux based application with Rails api.

Main Technology Stack

  • React
  • Redux
  • Rails
  • CSS Modules
  • Material-UI

Development

Setup

  1. Get the code.

     % git clone [email protected]:tsurupin/portfolio.git
    
  2. Setup your environment.

     % bin/setup
    
  3. Start Foreman.

     % foreman start
    
  4. Verify that the app is up and running.

     % open http://localhost:3000
    

Style Guides

Portfolio refers to the following style guides in each language and framework.

Todo

  1. Upgrade Rails version to Rails 5.
  2. Improve SEO.
  3. Add comment function.

License

The project is available as open source under the terms of the MIT License.

Troubleshooting

Please create an issue.

portfolio's People

Contributors

ghardin137 avatar tsurupin 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

portfolio's Issues

React Tap Event Plugin Error

ERROR in .//react-tap-event-plugin/src/injectTapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/EventPluginHub' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/injectTapEventPlugin.js 23:2-37
18:48:00 client.1 |
18:48:00 client.1 | ERROR in .//react-tap-event-plugin/src/TapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/EventConstants' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/TapEventPlugin.js 22:21-56
18:48:00 client.1 |
18:48:00 client.1 | ERROR in .//react-tap-event-plugin/src/TapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/EventPluginUtils' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/TapEventPlugin.js 23:23-60
18:48:00 client.1 |
18:48:00 client.1 | ERROR in .//react-tap-event-plugin/src/TapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/EventPropagators' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/TapEventPlugin.js 24:23-60
18:48:00 client.1 |
18:48:00 client.1 | ERROR in .//react-tap-event-plugin/src/TapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/SyntheticUIEvent' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/TapEventPlugin.js 25:23-60
18:48:00 client.1 |
18:48:00 client.1 | ERROR in .//react-tap-event-plugin/src/TapEventPlugin.js
18:48:00 client.1 | Module not found: Error: Cannot resolve module 'react/lib/ViewportMetrics' in /Users/aldrinclement/Documents/portfolio/frontend/node_modules/react-tap-event-plugin/src
18:48:00 client.1 | @ ./
/react-tap-event-plugin/src/TapEventPlugin.js 27:22-58

Looks like the react tap event plugin is not working.

error when running project

after running, i just see this :
1437.3 ms
189.4 ms
1.0 ms
120.2 ms
41.5 ms
0.6 ms
0.7 ms

at the left+top corner of page
what is this and how i can run currectly ?

Error

An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that gem install json -v '1.8.3' succeeds before bundling.``

`➜ portfolio git:(master) ✗ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 11.2.2
Using CFPropertyList 2.3.2
Using i18n 0.7.0
Installing json 1.8.3 with native extensions
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types-data 3.2016.0221
Using arel 6.0.3
Using addressable 2.4.0
Using net-ssh 3.2.0
Using io-like 0.3.0
Using ast 2.2.0
Using awesome_print 1.6.1
Using bcrypt 3.1.11
Using coderay 1.1.1
Using debug_inspector 0.0.2
Using uniform_notifier 1.9.0
Using bundler 1.14.6
Using byebug 8.2.4
Using capistrano-harrow 0.5.3
Using ffi 1.9.10
Using cliver 0.3.2
Using docile 1.1.5
Using simplecov-html 0.10.0
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using thor 0.19.1
Using concurrent-ruby 1.0.1
Using deep_merge 1.0.1
Using safe_yaml 1.0.4
Using database_cleaner 1.5.3
Using orm_adapter 0.5.0
Using diff-lcs 1.2.5
Using enum_help 0.0.15
Using excon 0.49.0
Using formatador 0.2.5
Using multi_json 1.11.3
Using ipaddress 0.8.3
Using xml-simple 1.1.5
Using inflecto 0.0.2
Using trollop 2.1.2
Using tilt 2.0.2
Using sexp_processor 4.7.0
Using hashdiff 0.3.0
Using hirb 0.7.3
Using unicode-display_width 0.1.1
Using kgio 2.10.0
Using rb-fsevent 0.9.7
Using method_source 0.8.2
Using mini_magick 4.5.1
Using mysql2 0.4.4
Using newrelic_rpm 3.15.0.314
Installing oj 2.14.6 with native extensions
Using websocket-extensions 0.1.2
Using powerpack 0.1.1
Using slop 3.6.0
Using rails-db-resetup 0.0.2
Using rainbow 2.1.0
Using raindrops 0.16.0
Using rspec-support 3.4.1
Using ruby-progressbar 1.8.0
Using rubyzip 1.2.0
Using sass 3.4.22
Using websocket 1.2.3
Using spring 1.7.1
Using timecop 0.8.1
Using vcr 3.0.1
Using fission 0.5.0
Using faker 1.6.3
Using validates_email_format_of 1.6.3
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /home/reza/.rvm/gems/ruby-2.4.0/gems/json-1.8.3/ext/json/ext/generator

/home/reza/.rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170322-6809-16w775l.rb extconf.rb
creating Makefile

current directory: /home/reza/.rvm/gems/ruby-2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean

current directory: /home/reza/.rvm/gems/ruby-2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
generator.c: In function ‘generate_json’:
generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
generator.c:861:25: note: each undeclared identifier is reported only once for each function it appears in
generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
} else if (klass == rb_cBignum) {
^~~~~~~~~~
generator.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target 'generator.o' failed
make: *** [generator.o] Error 1

make failed, exit code 2

Gem files will remain installed in /home/reza/.rvm/gems/ruby-2.4.0/gems/json-1.8.3 for inspection.
Results logged to /home/reza/.rvm/gems/ruby-2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out

An error occurred while installing json (1.8.3), and Bundler cannot continue.
Make sure that gem install json -v '1.8.3' succeeds before bundling.
➜ portfolio git:(master) ✗
`

database migration error

Got an error when running db:migrate

ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long;
 max key length is 767 bytes: CREATE  INDEX `index_items_on_target_type_and_target_id` 
USING btree ON `items` (`target_type`, `target_id`)

MySQL Version

5.6.20-debug

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.