Added Seed data for user and some fonts

This commit is contained in:
saurabhbhatia 2013-12-27 11:01:59 +08:00
parent 89989baa25
commit e83f84b029
5 changed files with 14 additions and 2 deletions

View File

@ -21,6 +21,7 @@ gem "font-awesome-rails", github: "bokmann/font-awesome-rails"
gem 'rmagick' gem 'rmagick'
# Use SCSS for stylesheets # Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0' gem 'sass-rails', '~> 4.0.0'
gem 'apipie-rails'
# Use Uglifier as compressor for JavaScript assets # Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0' gem 'uglifier', '>= 1.3.0'

View File

@ -67,6 +67,8 @@ GEM
multi_json (~> 1.3) multi_json (~> 1.3)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo (~> 0.3.37) tzinfo (~> 0.3.37)
apipie-rails (0.0.24)
rails (>= 3.0.10)
arel (4.0.1) arel (4.0.1)
atomic (1.1.14) atomic (1.1.14)
bcrypt-ruby (3.1.2) bcrypt-ruby (3.1.2)
@ -180,6 +182,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
anjlab-bootstrap-rails! anjlab-bootstrap-rails!
apipie-rails
bson_ext bson_ext
carrierwave carrierwave
carrierwave-mongoid carrierwave-mongoid

View File

@ -4,9 +4,9 @@
html, html,
body { body {
height: 100%; height: 100%;
font-family: 'Average Sans', sans-serif;
/* The html and body elements cannot have any padding or margin. */ /* The html and body elements cannot have any padding or margin. */
} }
/* Wrapper for page content to push down footer */ /* Wrapper for page content to push down footer */
#wrap { #wrap {
min-height: 100%; min-height: 100%;

View File

@ -5,7 +5,14 @@
<title>RulingOrbit - Template &#38; Module Store</title> <title>RulingOrbit - Template &#38; Module Store</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Average+Sans' rel='stylesheet' type='text/css'>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>
<style>
h1, h2, h3{
font-family: 'Arvo', serif;
}
</style>
</head> </head>
<body> <body>
<!-- Wrap all page content here <!-- Wrap all page content here

View File

@ -5,3 +5,4 @@
# #
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel', city: cities.first) # Mayor.create(name: 'Emanuel', city: cities.first)
user = User.create :email => "orbit@rulingcom.com", :password => "bjo4xjp6", :password_confirmation => "bjo4xjp6"