Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nixpulvis/dinosaurcowboys
- Owner: nixpulvis
- Created: 2013-12-17T07:55:53.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-10T20:09:47.000Z (about 9 years ago)
- Last Synced: 2024-10-27T13:21:18.814Z (3 months ago)
- Topics: project
- Language: Ruby
- Homepage:
- Size: 13.3 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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();
}
}
```