代码拉取完成,页面将自动刷新
# 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。