This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "RESET SYMLINK TO /var/rails/redmine" | |
ln -sf /var/rails/shared/files /var/rails/redmine | |
ln -sf /var/rails/shared/tmp /var/rails/redmine | |
ln -sf /var/rails/shared/plugins /var/rails/redmine | |
ln -sf /var/rails/shared/vendor /var/rails/redmine | |
ln -sf /var/rails/shared/Gemfile.local /var/rails/redmine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### SETTINGS ################################################ | |
DB_NAME=agileware_redmine | |
DB_USER=root | |
DB_HOST=localhost | |
BACKUP_ROOT=/backups | |
APP_NAME=agileware-redmine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### SETTINGS ################################################ | |
APP_NAME=app_name | |
APP_ROOT=/var/rails/$APP_NAME/curent | |
BACKUP_SOURCE_DIR=uploads | |
BACKUP_DEST=/backups/file | |
PERIOD=30 | |
############################################################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '3.2.8' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'sqlite3' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# unicorn_rails_redmine Startup script for unicorn. | |
# | |
# chkconfig: - 85 15 | |
# description: redmine on unicorn start/stop script. | |
# | |
# | |
# set rvm environment valiables. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$unicorn_user = "app" | |
$unicorn_group = "app" | |
worker_processes 2 | |
working_directory '/var/rails/redmine' | |
listen "127.0.0.1:3100", :tcp_nopush => true | |
listen '/tmp/.unicorn_redmine.sock' | |
timeout 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: - 85 15 | |
# description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /etc/nginx/nginx.conf | |
# config: /etc/sysconfig/nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NGINX=nginx-1.1.14 | |
cd $NGINX \ | |
&& ./configure \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--pid-path=/var/run/nginx/nginx.pid \ | |
--lock-path=/var/lock/nginx.lock \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -U compinit | |
compinit | |
setopt auto_pushd | |
setopt auto_cd | |
setopt correct | |
setopt cdable_vars | |
## keybind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Setup < Thor | |
include Thor::Actions | |
APP_ROOT = File.dirname(__FILE__) + "../../../".freeze | |
PLUGINS = [:rspec, :cucumber, :simple_form, :devise].freeze | |
SUCCESS_NOTICE = <<-SUCCESS_TEXT | |
Successful install [[[Name]]]. | |
SUCCESS_TEXT |
NewerOlder