-
Notifications
You must be signed in to change notification settings - Fork 0
vvdpzz/artist
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
# Created by Zheng-Yu Chen on 10-5-14. # Copyright 2010 Cabooshine. All rights reserved. == 获取代码方法 $ git clone git@github.com:vvdpzz/artist.git or $ git clone https://artistpush@github.com/vvdpzz/artist.git Password is artistpush login password == 提交代码设置 $ git remote add artist git@github.com:vvdpzz/artist.git 以后提交代码直接:$ git push artist <branch> 例如: $ git push artist master == 公用帐号使用方法 1、首先生成SSH keys $ ssh-keygen -t rsa -C "artistpush@gmail.com" $ vi .ssh/id_rsa.pub 将里面的内容(不含新行和空格)拷贝到 Github -> Account Settings -> SSH Public Keys -> Add another public key -> key title留空,然后点 Add key 2、设置个人信息 git config --global user.name "Zheng-Yu Chen" git config --global user.email vvdpzz@gmail.com == 各位兄弟提交代码时注意移除一下文件: Mac OS X: $ git rm -f *.DS_Store Linux NetBeans: $ git rm -rf nbproject 最后再删除日志文件: $ git rm -rf log 还有种一劳永逸的方法: $ vi ~/.gitignore 内容为: .DS_Store /log /nbproject 然后: $ git config --global core.excludesfile ~/.gitignore == 关于代码的初次配置 1、安装Sphinx 下载: http://www.sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz $ ./configure --prefix=/usr/local/sphinx --with-mysql $ make $ make install 2、安装用到的gems $ sudo rake gems:install 3、配置数据库 MySQL数据库:testrails username: root password: 然后执行:rake db:migrate
About
CabooShine Team Project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published