勉強したこと、調べたことを記録する
$ sudo yum install python-devel git hg curl $ curl -O http://python-distribute.org/distribute_setup.py $ sudo python distribute_setup.py $ easy_install virtualenv $ virtualenv --no-site-packages myenv $ source ./myenv/bin/activate $ easy_install rhodecode
error: Setup script exited with Python headers are required to build Mercurial
$ paster make-config RhodeCode production.ini Distribution already installed: RhodeCode 1.5.2 from /path/to/lib/python2.6/site-packages/RhodeCode-1.5.2-py2.6.egg Creating production.ini Now you should edit the config files production.ini
$ paster setup-rhodecode production.ini
Enter a valid absolute path to store repositories. All repositories in that path will be added automatically:
mkdir -p /home/user/my_repo paster setup-rhodecode production.ini --user=user --password=Ninni --email=user@yourdomain.com --repos=/home/user/my_repo
paster serve production.ini
EnvironmentError: Subprocess exited due to an error:
$ git clone https://github.com/git/git.git $ cd ./git $ git tag $ git checkout v1.8.?? #<-ここは好きにして
$ sudo yum install -y curl-devel expat-devel openssl-devel gettext
$ sudo yum install perl-ExtUtils-MakeMaker
$ make NO_TCLTK=Yes prefix=/usr/local $ make install $ sudo yum remove git $ source /etc/profile $ git --version
$ vim Makefile prefix = /usr/local
$ git config --system user.email "yourmail@dokkasonohen.jp" $ git config --system user.name "Fistname Lastname"
0 件のコメント:
コメントを投稿