2 Star 0 Fork 0

mirrors_sass/sass-registry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.mkd 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
John W. Long 提交于 2013-11-01 23:24 . Setup development GitHub auth app
# README
## Getting started
1. You will need postgres installed on your system (skip to step 3 if you've already done this):
brew install postgres
2. Follow the Hombrew instructions (very important):
brew info postgres
3. Create a user for the database:
createuser sass-registry
4. Create the databases:
createdb -Osass-registry -Eutf8 sass-registry_development
createdb -Osass-registry -Eutf8 sass-registry_test
5. Install the pg gem:
sudo env ARCHFLAGS="-arch x86_64" gem install --no-ri --no-rdoc pg
6. Clone the repository:
git clone [email protected]:sass/sass-registry.git
7. Bundle install:
bundle install
8. Bootstrap the database:
bundle exec rake db:migrate
## Migrations
As development progresses you may need to run migrations to keep your database
up to date:
bundle exec rake db:migrate
## Deployment
We use Heroku for deployment. You will need to be a collaborator on Heroku and
the Heroku toolbelt must be installed. If you don't have the Heroku toolbelt,
go here and follow the instructions:
https://toolbelt.heroku.com/
After that login to Heroku from the command line:
heroku login
Now you need to setup Heroku as a remote:
git remote add heroku [email protected]:sass-registry.git
To deploy, the only thing you need to do from now on is:
git push heroku master
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sass/sass-registry.git
[email protected]:mirrors_sass/sass-registry.git
mirrors_sass
sass-registry
sass-registry
master

搜索帮助