• Stars
    star
    362
  • Rank 117,671 (Top 3 %)
  • Language
    Ruby
  • Created over 12 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RailStrap is a HTML5 Ruby On Rails 4 Ruby 2.0.0 bootstrap

RailStrap v4

Demo

RailStrap is a Front-end / Back-end template using HTML5 Boilerplate, Twitter Bootstrap 3, Ruby on Rails (4.0.0) Devise ( Auth ) and Ruby 2.0.0.

Quick start

  • Clone the git repo - git clone https://github.com/hugodias/railStrap.git - or download it

  • Run bundle install

  • Run rake db:migrate

Then run your server

rails s

Check at http://localhost:3000

Requirements

  • Rails 4
  • Ruby 2.0.0
  • Imagemagick (For uploading pictures)
  • Vagrant (Optional)

Features

HTML5 Boilerplate
Twitter Bootstrap 3
HAML Template Engine
Ruby on Rails 4.0.0
  • Devise
  • Paperclip ( User profile picture )

Databases support

Best pratices


Change the cookie secret token at config/initializers/secret_token.rb

# Be sure to restart your server when you modify this file.

# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
RailStrap::Application.config.secret_token = 'YOUR-NEW-TOKEN-HERE'

Thanks pringles for the tip

Vagrant


RailStrap has a Vagrant file to create your own Virtual Machine for development.

To get started you need to have Vagrant and Virtal Box instaled.

After that you just need to start your VM:

vagrant up
Bonus

After that you have a Ubuntu server to work, but this server isn't configured to work with rails yet! :( So i'm leaving here one virtual box image with Ruby 2.0.0 (rbenv) and Rails 4 pre-configured.

To install this server just follow this steps:

  • Download the server image here: link
  • Place the image that you downloaded in railStrap repository
  • In railStrap directory run vagrant box add railStrapMachine ubuntuRails4Ruby2.box virtualbox
  • Run vagrant box list and this new machine should be in that list
  • Now in Vagrantfile change config.vm.box="precise32" to config.vm.box="railStrapMachine"
  • To get your machine up run vagrant up

And its done ! Your vagrant vm now has Ruby 2.0.0 and Rails 4 ready to go.


License

Major components:

Everything else:

The Unlicense (aka: public domain)

More Repositories

1

angularjs-socket-node-chat

A chat server/client using AngularJS, Socket.IO and NodeJS
JavaScript
135
star
2

cakeStrap

CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap 3.0!
PHP
115
star
3

FileUpload

Jquery File Upload for CakePHP 2.x
JavaScript
68
star
4

nodestrap

NodeStrap is a NodeJS template to build web apps
JavaScript
55
star
5

facebook-post-preview

Preview how a link will be rendered on facebook
JavaScript
36
star
6

cakegallery

Gallery plugin for CakePHP
PHP
28
star
7

meta-preview

ReactJS component to preview Google results based on Title, Description and URL
JavaScript
24
star
8

san-pedro-valley-jobs

Repositório do novo Job Board de San Pedro Valley
Ruby
14
star
9

rails-elk-stack

Guide to add Elasticsearch, Logstash and Kibana to a Ruby on Rails app on Docker
Ruby
13
star
10

CakeStrap-Manager-Module

JavaScript
11
star
11

Google-HTML5-Presentation-Remote-Control

JavaScript
11
star
12

Realtime-chat

Realtime chat build using socket.io , nodejs and express
JavaScript
8
star
13

EloRating-JavaScript

Elo Rating build in CoffeeScript and compiled in JavaScript
CoffeeScript
7
star
14

tutorial-reactjs

Repositorio com os codigos de tutoriais da serie Começando com ReactjsJS
JavaScript
5
star
15

angular-universal-search

JavaScript
5
star
16

angular-realtime-editor

Realtime editor
JavaScript
5
star
17

reactgram

Instagram clone made using ReactJS, Redux and React Router
JavaScript
4
star
18

MyTunes

Web based app to store your own songs.
Ruby
3
star
19

til

📝 Today I Learned
3
star
20

feedback

JavaScript
2
star
21

node-csv-queue-processor

Process CSV files integrated with a queue and an API wrapper
TypeScript
2
star
22

airbnb-ui-kit

JavaScript
2
star
23

seohelper

Extract content from urls and point for some seo tips based on page content
JavaScript
1
star
24

HTML5-Notifications-and-Socket.io

JavaScript
1
star
25

x-slider

Slider for Wordpress that Don't Suck
PHP
1
star
26

shopping_list

Elixir
1
star
27

vue-comments

JavaScript
1
star
28

aai-daw

Java
1
star