Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

sass/sass-registry

Repository files navigation

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

About

Extension registry for Sass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published