http://railstemplate.herokuapp.com
- Install the latest Node.js version. Make sure that npm is installed with it as well.
- Install yarn
- Install Ruby version 2.7.2
- Install Postgres
- Install Redis
- Install ImageMagick
-
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
bundle exec rake setup
bin/yarn
foreman start
- visit http://localhost:3000
- login as admin, user name:
[email protected]
, password:welcome
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)
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.