Skip to content

Touqeer-tqr/map_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Requirements

Setup

  • rails generate model Polygon name:string polygons_list:text

  • add ‘serialize :polygons_list` in polygon.rb

  • rake db:create

  • rake db:migrate

Deploy on Heoku

  • heroku login

  • heroku create app_name –stack cedar

  • heroku addons:add heroku-postgresql:dev -a app_name

  • git push heroku master

  • heroku run rake db:migrate

  • heroku restart