Capistrano is a remote server automation and deployment tool written in Ruby.
I use it to provide continuous delivery on every Ruby on Rails projects
where I cannot use an hosting cloud solution. It is a very powerful tool, easy to configure and very well documented.
ALCATRA is an application which allows a lessor to characterize the accessibility for the housings, the common areas and the buildings
according to a ranking DPE like (Classes A to F) based on five disabilities: seniors, wheelchair, auditory, visual and cognitive.
The key of this application stands in a mechanism allowing experts to build complex dynamic decision trees.
I am in charge of the whole development process of the application from the conception to the deployment.
The first release has been deployed in Oct. 15th, 2015. I am now focused on the mobile app development (iOS, Android).
Resources
The application is available here: www.alcatra.fr, but only for our customers.
This tutorial assumes that you already have a working installation of an Apache server.
Install Phusion Passenger
Phusion Passenger has been by far the easiest way I’ve found for managing multiple Rails application instances on top of either Apache or Nginx. It comes as a gem and has custom modules for both major web servers.
Then you will need to update your apache configuration (as in the passenger instructions).
First, create a file called /etc/apache2/mods-available/passenger.load and input the following code :
Second, create a file called /etc/apache2/mods-available/passenger.conf and input the following code :
Then, enable the passenger module in Apache and restart the server.
PostgreSQL
Last but not least, you will need a DB engine. I mainly use PostgreSQL. Here is the installation process.
Capistrano
First create and init a new remote on your server
Capistrano needs git to update your code source. You can use any git repository as it is accessible from your server. Sometimes you could have a repository inside your local network and a server outside this network. In this case, your server will not be able to pull your code source. You can still create a git repository on your server, add it as a remote and push to it for capistrano. Here is how :
On server
On local
Capify your application
Add this following code into your Gemfile
And then :
And finally :
Capistrano settings
Capistrano is very well documented. By following the comments, first edit your /config/deploy.rb and then your specific environments settings in config/deploy/my_env.rb
Setup Apache
You need to create and setup permissions for the folder which will be used to deploy your app.
Then you need to create a virtual host to your current folder. Create a new file called myapp.conf in /etc/apache2/site-available
Don’t forget the .conf extension. Without this extension Apache is not able to treat it.
One objective of this conference will be to show the positive impact of energy efficency wihtin a neighbourhood. In order to achieve
this goal, the CSTB has developed a complete methodology allowing the EcoDistrict evaluation. A web application has
been developed in order to hide the methodology’s complexity and favor its adoption by local collectivities.
I was in charge of the development team. We have constantly focused our energy on improving the user experience. With agility, we developed the application in parallel to the methodoly definition to help experts work on concrete cases. ‘Keep it simple’ and ‘Don’t repeat yourself’ were our key success factors to be able to refactor everywhere anytime.
Prathic-ERP is a platform which references products that meet the needs of disabled people in institutions welcoming visitors. This site was created on an initiative of the Ministerial Delegation for Accessibility. The Information and Advice Centre for Assistive Technology (CEP-CICAT) with its operation by managing memberships manufacturers and organizing the publishing committee. A complex publishing workflow was set up to ensure the quality of the publications and the relevance of the products.
On top of this complex workflow, we built simple interfaces both for manufacturers and visitors. I was deeply involved in every part of the project, from the product definition to the deployment. I managed the development process with agility and lead the development team. Since 2013, we have released three major versions.