cliche nature added

This commit is contained in:
Nico 2013-02-12 13:49:23 +01:00
parent 4b737c3405
commit b2b74534e4
3 changed files with 8 additions and 2 deletions

View File

@ -22,7 +22,8 @@ module MarkdownHelper
:autolink => true,
:no_intra_emphasis => true,
:fenced_code_blocks => true,
:gh_blockcode => true
:gh_blockcode => true,
:tables => true
})
syntax_highlighter(markdown.render(text)).html_safe

View File

@ -96,6 +96,11 @@ set :application, 'site_perso_app'
task :restart, :roles => :app, :except => { :no_release => true } do
sudo "service #{application} restart"
end
task :reload_nginx do
sudo "service nginx reload"
end
task :migrate do
run "cd #{deploy_to}current && rake db:migrate RAILS_ENV=#{rails_env}"

View File

@ -22,6 +22,6 @@ server {
server {
listen 80;
server_name www.nicolasbally.com nicolasbally.com www.art.nicolasbally.com;
server_name www.cliche-nature.com cliche-nature.com www.nicolasbally.com nicolasbally.com www.art.nicolasbally.com;
rewrite ^(.*) http://art.nicolasbally.com$1 permanent;
}