Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deadsuperhero/easydash
A simple dashboard app with Persona login
https://github.com/deadsuperhero/easydash
Last synced: 9 days ago
JSON representation
A simple dashboard app with Persona login
- Host: GitHub
- URL: https://github.com/deadsuperhero/easydash
- Owner: DeadSuperHero
- Created: 2013-07-16T19:05:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-20T12:53:54.000Z (over 11 years ago)
- Last Synced: 2024-10-10T01:41:53.721Z (27 days ago)
- Language: Ruby
- Size: 395 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Easydash is a simple Rails app that makes use of Mozilla Persona and Devise for authentication! It's literally just a simple user dashboard and a "Sign in With Persona" button.
The Devise integration was done using [devise_browserid_authenticatable](https://github.com/denschub/devise_browserid_authenticatable) by [Dennis Schubert](https://github.com/denschub)
## Database
This app by default makes use of Postgres, but it could just as easily support MySQL, SQLite, or other possible options. This means that, by default, you'll need to have Postgres set up on your machine!## Usage
First, clone the repo:
```shell
git clone [email protected]:DeadSuperHero/easydash.git
```
Then, bundle the app and perform the migration```shell
bundle install && rake db:create && rake db:migrate
```Then, launch the app:
```
rails s
```## Signing in / Signing Out
When running the app, be sure to keep in mind that there's no main page yet (will arrive in an update soon). To test the login, you'll want to point your browser at the login page to see it:
By default for Devise, this means:
```
http://0.0.0.0:3000/users/sign_in
```You can check that you're logged in by re-visiting the sign_in URL, which will just simply redirect you to the non-existant index. You can sign out by pointing your browser at:
```
http://0.0.0.0:3000/users/sign_out
```