Skip to content

dotcloud + redmine

1. dotcloud 가입

2. 신용카드 등록

3. applincation 생성

4. dotcloud CLI 설치

5. redmin 서비스 연결

a. redmine 폴더 생성

b. redmine  2.2.2 다운로드

c. redmine.2.2.2.tar.gz 파일 삭제

d. dotcloud.yml 생성

redmine:
type: ruby
approot: redmine-2.2.2
config:
ruby-version: ree
db:
type: mysql

e. database.yml 생성

production:
adapter: mysql
database: redmine
host: redmine-sewonist.azva.dotcloud.net
username: redmine
password: KRzgvxDcPZgsTke6pIym
encoding: utf8
port: 49498

e. dotcloud 연결

f. dotcloud push

6. database 세팅

mysql>create database redmine character set utf8;

mysql>create user user명@”%” identified by “패스워드”;

mysql>grant all privileges on *.* to user명@”%”;
mysql>flush privileges;

7. redmine 세팅

$dotcloud run redmine

$cd current

$rake generate_secret_token
$RAILS_ENV=production rake db:migrate
$RAILS_ENV=production rake redmine:load_default_data

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.