Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melvinchng/materialize-rails
Example Rails app using materialize-sass gems
https://github.com/melvinchng/materialize-rails
framework material-design materializecss-framework rails5 ruby-on-rails rubyonrails
Last synced: 14 days ago
JSON representation
Example Rails app using materialize-sass gems
- Host: GitHub
- URL: https://github.com/melvinchng/materialize-rails
- Owner: melvinchng
- License: gpl-3.0
- Created: 2017-08-25T17:19:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T23:29:55.000Z (about 2 years ago)
- Last Synced: 2025-01-20T21:09:06.612Z (19 days ago)
- Topics: framework, material-design, materializecss-framework, rails5, ruby-on-rails, rubyonrails
- Language: HTML
- Homepage: http://materialize-rails-template.herokuapp.com
- Size: 289 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Materialize Rails Template
A regular Materalize SASS Rails Template that consits of the following GEMs:
* [materialize-sass](https://github.com/mkhairi/materialize-sass)
* [material_icon](https://github.com/Angelmmiguel/material_icons)
* [materialize-form](https://github.com/jamesfwz/materialize-form)
* [devise](https://github.com/plataformatec/devise)
* [jquery-datatables](https://github.com/mkhairi/jquery-datatables)
* [high_voltage](https://github.com/thoughtbot/high_voltage)
* [jquery-turbolinks](https://github.com/kossnocorp/jquery.turbolinks)
* [rails-ujs](https://github.com/rails/jquery-ujs)Inspired by [mkhairi's materialize-rails](https://github.com/mkhairi/materialize-rails). The original template is written in `slim` and the database is connected to his own `postgres` server. I modified his template so that people can run his code locally by using `sqlite3` database or deploy it to a server and use `postgres` database easily (asuming that you are using Heroku PaaS). Since not everyone have experiences in slim, I decided to rewrite it to regular `html` and did some modifications and corrections. Also, major components can be found in materialize-sass's [documentation](http://materializecss.com).
I made a `slim` version of the original template created by [mkhairi](https://github.com/mkhairi) with database fix and without any modification. You can obtain it [here](https://github.com/melvinchng/Materialize-Rails-Slim).
### More Information
This template is written in such a way that you can develop on top of the template. By default, the template is optimized for mobile devices and will scale accordingly. It contains a few different headers and can be changed easily in `app/views/application.html.erb`. `/demos` is generated by `scaffold` command and contains two attributes: `title` and `body`. The attributes are created for demo purpose. `/parts` contains most of the Materialize sample code.### Minimum Requirements
* Ruby 2.4.1
* Rails 5.0### Demo
* [Example site](https://yhxatdvfiz.us12.qoddiapp.com)### Known Issue:
* If you are using Windows platform, uninstall all the `bcrypt` gems and reinstall the gems manually using the following command: `gem install bcrypt --platform=ruby`.