Git Product home page Git Product logo

apisanity's Introduction

CircleCI

Intro video

https://vimeo.com/212195510

Setup

bundle install
cp config/database.yml.postgresqlapp config/database.yml
rake setup
npm install
bin/webpack-dev-server # only for development
bundle exec rails server

After starting the server see wiki to get some apis that you can hit.

Configuration for Heroku Review Apps

  • For branches auto deployed using Heroku Review Apps you need to env mentioned in app.json as required on the parent app in the settings tab. Only exception is ENV['HEROKU_APP_NAME'], this is set by heroku.

Configuration for Heroku(no review apps)

  • Set necessary environment variables.
  • Set ENV['HEROKU'] as true, used to determine that we are deploying to heroku and helps with config rails accordingly.
  • Add heroku-postgresql addon to the app.
  • Add following buildpacks. First is use to run npm install and second for bundle install
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs.git
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-ruby.git

Steps to take care before merging to master.

  • Install Heroku Repo Plugin from here
  • Run heroku repo:purge_cache -a apisanity
  • Merge to master.

This would help in deploying to master when PR is merged without any hassle.

Deployment to production

The production version is hosted at DigitalOcean. When a PR is merged then commit is also pushed to production branch using gitemit. Shipit is enabled for deployment to production.

apisanity's People

Contributors

amit-choudhary avatar neerajsingh0101 avatar arbaaz avatar

Watchers

 avatar Sojan Jose avatar Ershad Kunnakkadan avatar Vipul A M avatar James Cloos avatar Vishal Telangre avatar Priyank Gupta avatar Midhun Krishna avatar Rahul Mahale avatar sudarsh avatar Narendra Rajput avatar Akshay Vishnoi avatar Sharang Dashputre avatar Ashish Gaur avatar Rohit Kumar avatar Rohan Pujari avatar Nitesh Mishra avatar Tyler Gordon avatar Chirag Shah avatar Taha Husain avatar Abhay Nikam avatar Navaneeth Pk avatar Jyojith George Thaliath avatar  avatar Chimed avatar Vinay Khade avatar Bhaskar Shankarling avatar Radheshyam Nazarkar avatar Berin Larson avatar  avatar Piyush Tiwari avatar Preshin P S avatar bot-bigbinary avatar  avatar Gitemit avatar Shivang Yadav avatar Paras Bansal avatar

apisanity's Issues

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.