2016 - ICOM Université Lyon 2 - M2 CIM
Automatisation, développement, intégration continue...
Session 1
| https://chstudio.fr | |
| @s_hulard | |
| http://github.com/shulard | |
| s.hulard@chstudio.fr | |
| s.hulard@univ-lyon2.fr |
Pour cela le code doit être géré correctement
Principe de maintenir l'ensemble des versions d'un ou plusieurs fichiers.
Dépôt,RepositoryRévision,CommitBranche,BranchPrincipe de gestion du code source externe intégré à l'application.
Un fichier pour décrire les dépendances du projet et une commande pour les installer.
composer.json
{
"name": "exoskills/applux-bo",
"description": "ExoSkills - AppLux Back Office.",
"license": "proprietary",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
...
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~2"
}
}
{
"name": "Applux-BO",
"version": "1.0.0",
"description": "Back Office - Afflux",
"private": true,
"repository": {
"type": "git",
"url": "git+https://gitlab.com/exoskills/applux-bo"
},
"dependencies": {
"autoprefixer": "^6.3.7",
"babel-plugin-transform-inline-environment-variables": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babelify": "^7.3.0",
...
},
"devDependencies": {
"nodemon": "^1.9.2",
"parallelshell": "^2.0.0",
"watchify": "^3.7.0"
}
}
source "https://rubygems.org"
gemspec :name => "jekyll"
gem "rake", "~> 11.0"
# Dependency of jekyll-mentions. RubyGems in Ruby 2.1 doesn't shield us from this.
gem "activesupport", "~> 4.2", :groups => [:test_legacy, :site] if RUBY_VERSION < '2.2.2'
group :development do
gem "launchy", "~> 2.3"
gem "pry"
unless RUBY_ENGINE == "jruby"
gem "pry-byebug"
end
end