Skip to content

saeloun/plate

Repository files navigation

CircleCI

Demo

http://railstemplate.herokuapp.com

Local Development Setup

Prerequisites:

General Software Requirements
Installation steps on mac OS
  • Install Homebrew.

  • Install the latest Node.js version. Make sure that npm is installed with it as well.

  • Install RVM

  • Install Ruby 2.7.2 using RVM

    rvm install 2.7.2
    

    To make 2.7.2 as default and current version execute

    rvm --default use 2.7.2
    
  • Install PostgreSQL using Homebrew.

    brew install postgresql
    

    Once postgresql is installed to start the server daemon run

    brew services start postgresql
    
  • Install Redis

    brew install redis
    

    Launch Redis server daemon through Homebrew

    brew services start redis
    

    To ensure server is up, ping the server and confirm that we get a response.

    redis-cli ping
    PONG
    
  • Install Yarn

    brew install yarn
    
  • Install ImageMagick

    brew install imagemagick vips
    

    We are using image_processing gem for file uploads. Need to install this so that images are rendered locally.

Bundle Install and Setup DB

bundle install
bundle exec rake setup

Execute yarn

bin/yarn

Spinning up the App

foreman start

Login as Admin in the app

Replace Plate with your project name

Let's say that the project name is Bottle. Execute the command below to replace all occurrences of Plate with Bottle.

perl -e "s/Plate/Bottle/g;" -pi $(find . -type f)

About Saeloun

plate is maintained by Saeloun Inc.

We love open source software! See our other projects or hire us to design, develop, and grow your product.

About

A Plate of Rails Templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published