Welcome to your new Rails project!
You can run the server with this command:
rails server
And then visit http://localhost:3000 in your browser to see the site!
To create a default admin user for development, run:
rails db:seed
You will then be able to log in as [email protected]
, password password
.
This comes with a few more extras than a standard Rails project. These are meant to give your project a good start, but if you don't need a particular piece you can always remove it.
- We've set up a
User
model for you to handle site users. It has anadmin
flag to denote users with elevated permissions. - Devise handles user authentication.
- ActiveAdmin provides an admin interface that's easy to configure.
- Webpacker integrates modern JavaScript packages. If you don't need it, the traditional Rails assets will continue to work.
- Bootstrap provides a CSS framework for easy layouts and styling.
- Sass adds some extra power to your stylesheets when they have the
.scss
extension. Regular CSS will always work great in them too!