Quick start
Instructions to install the single-site version (or MIT version) of Maglev
Requirements: - Ruby 3+ - Ruby on Rails 8+ - Postgresql - ImageMagick - Node 20+
It also works for now with Ruby on Rails 7.x and Ruby on Rails 6 with Ruby 2.7 but we strongly suggest you to upgrade your Rails/Ruby stack.
Short version (1 minute installation) 😎
We wrote a Rails application template which will generate a brand new Ruby on Rails 8 application with Maglev already setup.
🎉 Congratulations! A random home page has been initialized with some content, check it out here: http://localhost:3000/
If you want to modify the content, go to this url: http://localhost:3000/maglev/editor. 🚀
Long version 🤓
First generate a new Ruby on Rails application. You can skip this step if you've got an existing application.
Maglev depends on ActiveStorage for the content asset uploading. So you need to setup ActiveStorage like this:
We strongly recommend to enable the image_processing gem in your Gemfile.
Please uncomment the line gem 'image_processing', '~> 1.3'
Add now the Maglev engine to your app Gemfile file.
the maglev-hyperui-kit
gem includes a library of marketing sections based on hyperui, a free open source tailwindcss components.
Setup Maglev
Launch your rails app
🎉 Congratulations! A random home page has been initialized with some content, check it out here: http://localhost:3000/
If you want to modify the content, go to this url: http://localhost:3000/maglev/editor. 🚀
Last updated