Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

lyonrb/deploy_docus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Docus

Web interface to easily deploy your application Travis

Installation

Deploy Docus is only a library. It'll require you to generate an application and deploy it in the environment of your choice.

gem install deploy_docus
ddocus new my_deployment_app

This will create the folder my_deployment_app with the required files.

You then need to create a new SSH key. This key will be used to get access to your GIT repository and your deployment server.

ssh-keygen -t rsa -C "[email protected]" -f keys/my_application_rsa

Note : the key must end with _rsa.

Now, open the file config.yml in your generated application. It contains all your application's informations to make the deployments.

Add your deployment information for my_application. For example :

my_application:
  repository: [email protected]:my_organization/my_repository.git
  token: qhbnlkmnmh8096785nknmgiuh789BKMKGPIHMLNMÇ0HIONBON
  deploy_task:
    production: cap production deploy

And you're done ! Deploy your application somewhere (like on heroku). And you can easily test your deployments with CURL :

curl -d "token=THE TOKEN YOU SPECIFIED IN THE YML FILE" http://your-deploy-docus-application/my_application/production

The first parameter in the URI is the application's name. The second one is the environment (as defined in your config.yml file).

Scripts to use Deploy Docus

Contributing

We're open to any contribution. It has to be tested properly though.

  • Fork the project
  • Do your changes and commit them to your repository
  • Test your changes. We won't accept any untested contributions (except if they're not testable).
  • Create an issue with a link to your commits.

Maintainers

License

MIT License. Copyright 2011 Evome. http://evome.fr