Skip to content

mightystrong/freelancer_rails

Repository files navigation

Freelancer Rails

Start Bootstrap Freelancer theme adapted for Ruby on Rails.

Dependencies

This is has been tested on the following:

  • Ruby 2.3.3
  • Rails 5.0.1

Other dependencies:

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

# Freelancer Rails
gem 'freelancer_rails', '~> 1.0'

Usage

How to use this plugin.

Sass

Change your application.css to application.scss.

$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss

Then, remove all the *= require_self and *= require_tree . statements from the sass file. Instead, use @import to import Sass files.

Do not use *= require in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.

Using SCSS, add this to your application.scss file:

@import "freelancer_rails";

JavaScript

Add the following line to your application.js file:

//= require freelancer_rails

Demo

A working demo of the application is located in test/dummy. Once you have installed all gems, run the following.

$ cd test/dummy
$ rake db:create
$ rake db:migrate
$ rails c

You can download and view Freelancer here.

NOTE: contact_mail.php is not included and therefore the contact form will not work as shown in the original demo of the application. Adapt the mail form as needed for a rails application.

Contributing

License

Freelancer is a one page Bootstrap portfolio theme for freelancers created by Start Bootstrap.

Freelancer Rails was adapted by Michael Price for Ruby on Rails.

The original theme and this gem are available as open source under the terms of the MIT License.

About

Freelancer Rails - Theme by Start Bootstrap adapted for Rails.

Resources

Stars

Watchers

Forks

Packages

No packages published