Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
Kicks4LovePublic archive

About

The destination for all sneaker fans and trend enthusiasts 所有球鞋热爱家和潮流脑残粉的终极平台

Topics

Resources

Stars

3 stars

Watchers

6 watching

Forks

Latest commit

 

History

667 Commits

Folders and files

Repository files navigation

Kicks4Love

CircleCI

Setup instructions

  1. Ruby & Rails
  • Make sure you have installed Ruby and Rails
  • Otherwise it will not work properly
  1. MySql
  • We are using MySql
  • Please install that as well
  1. ImageMagick
  • Our image uploader gem carrierwave depends on ImageMagick to resize images; uploading would not work if ImageMagick is not installed on your machine
  • On Linux, run: sudo apt-get update && sudo apt-get install imagemagick --fix-missing
  • On Mac, download this installer created by Cactuslab, or simply run brew install imagemagick if Homebrew is installed on the machine.
  1. Developer Guide
  • Please create a new branch any time modifying the code
  • Unless being permitted to do so

Check out this Link for more information for setting up environment

$ \curl -sSL https://get.rvm.io | bash -s stable    # get RVM
$ rvm requirements                                  # set up packages
$ rvm install 2.3.1                                 # install Ruby 2.3.1
$ gem install rails                                 # install Rails
Special notice for developing on Windows
  • Setting up Linux subsystem on Windows is strongly recommended; after you've done so, simply repeat the setup procedure for Linux
  • If you run into "Error: Command 'rails' not recognized" during generating controller pages, try
$ bundle install --binstubs                         # re-setup bundle
$ bundle config --delete bin                        # Re-configure
$ rake rails:update:bin                             # version control
$ git add bin

Post-Setup instructions

Run this line of code in your Rails console first (notice: you can create whatever password you like for your root user)

AdminUser.new(:email => "root@kicks4love.com", :password => "up to you", :password_confirmation => "up to you").save(:validate => false)

In order to predefine a root user so that you can login to Kicks4Love Admin with root user role.

About

The destination for all sneaker fans and trend enthusiasts 所有球鞋热爱家和潮流脑残粉的终极平台

Topics

Resources

Stars

3 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages