Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nixpulvis/dinosaurcowboys

This project is no longer supported.
https://github.com/nixpulvis/dinosaurcowboys

project

Last synced: about 2 months ago
JSON representation

This project is no longer supported.

Awesome Lists containing this project

README

        

# Dinosaur Cowboys [![Build Status](https://travis-ci.org/nixpulvis/website.svg?branch=master)](https://travis-ci.org/nixpulvis/website)

This is the website for Dinosaur Cowboys, we are a World of Warcraft raiding guild on Sargeras Alliance.

## Setup

This application is build under the assumption the following dependencies are installed. `Postgres 9.3.2`, `Ruby 2.1`, `Rails 4.0`.

To run locally:
```
git clone https://github.com/nixpulvis/website.git
cd website
bundle install
rake db:create && rake db:migrate && rake db:seed
foreman start
```

Adding heroku:
```
git remote add production [email protected]:dinosaurcowboys.git
git config heroku.remote production # Allows for `heroku` command to default to production.
```

## Database

### Pull the Database
Getting the latest database backup locally is as easy as running the following command.

```
rake db:pull
```

To tell heroku to capture a backup of the current production database run the following.

```
rake db:capture
```

## Conventions

It's important to hold to conventions, and implement things in a consistent way. This allows for sanity around bug fixes, and changing things in general.

### Ruby

TODO: Write this.

### Coffeescript

TODO: Write this.

### HTML & CSS

Following the conventions of Rails, there will be a folder for pages for every controller. Files in these directories either correspond to an action name from the controller, or are a partial, starting with a `_`.

- Never user ids for styling. Ids are for scripting only.
- Classes **MUST** be styled for any page. Never give a class styles just for a specific page.
- Style the layout of a page by the page's html elements.

#### Example Page

```html



Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.



This is just some latin...




```

```scss
..,
.. {
section {
@include span-columns(8);
}

aside {
@include span-columns(4);
@include omega();
}
}
```