Sha256: 65364aaa471433c67048f79bab3e783879a40778ec665ad9b27da3a3ce4b8595

Contents?: true

Size: 1.78 KB

Versions: 24

Compression:

Stored size: 1.78 KB

Contents

# egghead-styles

Holds the master stylesheet for all of egghead. Clone into the same directory as `egghead-systems` and `egghead-rails`

## First things first

Setup all required dependencies. Run: `npm i && bundle install`

## How to publish

Before you can publish to NPM or RubyGems, you must first authenticate with each service.

### Log into NPM and RubyGems

Perform the following commands within the `egghead-styles` directory and login to NPM with your egghead account that has publishing privileges. Contact an egghead admin for publishing access if needed.

* `npm login`
* `gem push` (this will produce a "Please specify a gem name on the command line" error, ignore it)

### Building the packages

The `deploy` script is responsible for bumping versions and publishing to NPM/RubyGems. There are two flags which enable this:

* `./deploy -b, --bump <major, minor, patch>`
* `./deploy -p, --publish`

For instance, to provide a patch bump and publish, use `./deploy -b patch -p`

## Local Development

`egghead-styles` has the same setup as `egghead-rails` in that `egghead-systems` references both from the same root directory. By default, the Gemfile points to `egghead-styles'` repository and will pull the gem from Github if it cannot find a substitute. This isn't conducive for local development as it would require redeploying the gem for every change.

For local development, we want `bundle` to see live changes to the gem. Tell `bundle` to reference the local repository. Run the following inside the VM's `/app` directory:

`bundle config local.egghead-styles /egghead-styles`

Vagrant mounts `egghead-styles` to the root of the VM at `/egghead-styles`. Changes to the local copy will now reflect in development. Run `foreman` as usual.

#### References

Source [here](http://bundler.io/v1.3/git.html)


Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
egghead-styles-1.0.53 README.md
egghead-styles-1.0.52 README.md
egghead-styles-1.0.51 README.md
egghead-styles-1.0.50 README.md
egghead-styles-1.0.49 README.md
egghead-styles-1.0.48 README.md
egghead-styles-1.0.47 README.md
egghead-styles-1.0.46 README.md
egghead-styles-1.0.45 README.md
egghead-styles-1.0.44 README.md
egghead-styles-1.0.43 README.md
egghead-styles-1.0.42 README.md
egghead-styles-1.0.41 README.md
egghead-styles-1.0.40 README.md
egghead-styles-1.0.39 README.md
egghead-styles-1.0.38 README.md
egghead-styles-1.0.37 README.md
egghead-styles-1.0.36 README.md
egghead-styles-1.0.35 README.md
egghead-styles-1.0.34 README.md