Skip to content

Commit eb602fe

Browse files
committed
2 parents 8bafbc2 + d859670 commit eb602fe

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

README.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,54 @@
11
# Rails 6 devise example
22
It is an example app and a basic template for devise auth in rails 6.
33

4+
## Build with
5+
- Rails on rails
6+
- Bootstrap with webpack
7+
8+
## Get Started
9+
### Requirement
10+
- Ruby 2.6
11+
- Rails 6
12+
- Foreman gem
13+
14+
### Clone
15+
```bash
16+
git clone https://github.com/imhta/rails_6_devise_example.git
17+
cd rails_6_devise_example
18+
```
19+
### Install and migrate db
20+
21+
```bash
22+
bundle install
23+
rails db:migrate
24+
```
25+
### Start Server
26+
To start rails server
27+
```bash
28+
rails serve
29+
30+
```
31+
To start webpack server because rails 6 in default use webpack
32+
```bash
33+
foreman start -f Procfile.dev
34+
```
35+
36+
437
## Screenshots
538

6-
<img src="image.png">
39+
### Log In Page
40+
<img src="screenshots/image.png">
41+
42+
### Sign Up Page
43+
<img src="screenshots/image2.png">
44+
45+
### Forgot password Page
46+
<img src="screenshots/image4.png">
47+
48+
### Home Page
49+
<img src="screenshots/image3.png">
50+
51+
752

853
## Useful links
954
- [How to Redirect to a specific page on successful sign in](https://github.com/plataformatec/devise/wiki/How-To:-redirect-to-a-specific-page-on-successful-sign-in)

0 commit comments

Comments
 (0)