Skip to content

johnmfarrell1/rails6-bootstrap4

Repository files navigation

Rails 6 - Bootstrap 4

Blank Rails 6.0.2 example application that integrates Rails and Bootstrap 4.0 via Webpacker. Bundled with High Voltage also for easy static page generation and Bootswatch for flexible look and feel.

Rails

Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller framework, providing default structures for a database, a web service, and web pages. View the Getting Started with Rails page for more information.

Bootstrap

Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains CSS- and JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components. View the Introduction to Bootstrap for more information

This application can be used as a starting position to quickly create new Rails applications which come with bootstrap.

Screenshots

Welcome Screenshot Sketchy Screenshot Darkly Screenshot

Getting Started

  • Fork this repository OR alternatively duplicate it
  • Clone your repo: git clone https://github.com/YOUR-USER/rails6-bootstrap4
  • Setup the application
bundle exec bundle install
yarn install
bin/rails db:create
bin/webpack-dev-server
bin/rails server

Once complete, point your browser to http://localhost:3000 to view the application.

Its possible to swap look and feel by replacing the theme name in /app/javascript/stylesheets/application.scss. Visit Bootswatch for possible theme names.

Development

Bootstrap 4 was enabled via the following steps. After checking out the repo and running over the installation steps, you can run rails test to run the tests via the web container. You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/johnmfarrell1/rails6-bootstrap4

License

The project is available as open source under the terms of the MIT License.

About

Blank rails project including bootstrap 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published