allegroplanet / allegro-planet

1 stars 1 forks source link

Add rudimentary Admin #18

Closed MarkOates closed 7 years ago

MarkOates commented 7 years ago

Using Rails Admin

We need to be able to access, add, and modify records through an admin. To make thing quick and easy, we'll use RailsAdmin.

This PR adds RailsAdmin, along with a configuration file. Note that there is no authentication or authorization yet with this PR, and admin/ is public.

Authentication Access to Admin

Basic authentication has been added. This authentication method requires the app to have the following environment variables set in production:

In development (and test) mode, you will be prompted for a password but you can enter anything and will be granted access.