Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Extension registry for Sass
Ruby CSS JavaScript CoffeeScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bin
config
db
lib
mockups
public
test
vendor/assets
.github-auth
.gitignore
.powrc
.ruby-version
Gemfile
Gemfile.lock
README.mkd
Rakefile
config.ru

README.mkd

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 git@github.com: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 git@heroku.com:sass-registry.git

To deploy, the only thing you need to do from now on is:

git push heroku master
Something went wrong with that request. Please try again.