Coder Social home page Coder Social logo

forkcms_3_deploy's Introduction

!!! Do not use this gem, use the forkcms_deploy-gem, which is version-independant from now on !!!

ForkCMS Deploy gem

This is a gem that enables you to deploy a ForkCMS 3.x.x install to your server. It was built specific for Fork CMS so your Capfile will be neat and tidy.

Installation

The recipe is available in the forkcms_deploy gem, which can be installed via RubyGems.org gem install forkcms_3_deploy

Available recipes

  • forkcms_3_deploy - ForkCMS specific tasks.
  • forkcms_3_deploy/defaults - Best practices for each deployment.

Example recipe

This recipe will deploy the ForkCMS-instance to your-app.com.

load 'deploy' if respond_to?(:namespace) # cap2 differentiator

# set your application name here
set :application, "your-app.com"								# eg.: sumocoders.be

# set user to use on server
set :user, "your-user"											# eg.: sumocoders

# deploy to path (on server)
set :deploy_to, "/home/#{user}/apps/#{application}"				# eg.: /home/sumocoders/apps/sumocoders.be

# set document_root
set :document_root, "/home/#{user}/www.your-app.com"			# eg.: /home/sumocoders/www.sumocoderS.be

# define roles
server "your-app.com", :app, :web, :db, :primary => true		# eg.: crsolutions.be

# git repo & branch
set :repository, "[email protected]:your-app.git"				# eg.: [email protected]:sumocoders.be.git
set :branch, "master"

begin
	require 'forkcms_3_deploy'
	require 'forkcms_3_deploy/defaults'							# optional, contains best practices
rescue LoadError
	$stderr.puts <<-INSTALL
You need the forkcms_3_deploy gem (which simplifies this Capfile) to deploy this application
Install the gem like this:
	gem install forkcms_3_deploy
				INSTALL
	exit 1
end

forkcms_3_deploy's People

Contributors

tijsverkoyen avatar

Stargazers

Annelies Van Extergem avatar

Watchers

Tom Maeckelberghe avatar  avatar James Cloos avatar Sam Tubbax avatar Wouter Sioen avatar Bjorn Van Acker avatar Jelmer Prins avatar Jonas De Keukelaere avatar Aurélie Vandaele avatar Grigory Reznichenko avatar Sander avatar  avatar

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.