Skip to content

Commit d328d59

Browse files
committed
update readme
1 parent 35ba08c commit d328d59

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,13 +630,17 @@ Hopefully then guide was helpful for you, and if you want any points clarified o
630630

631631
Cheers, and happy coding!
632632

633-
## How to run the test suite
633+
## How to run
634634
*Create a new user to get token, type command `rails c`*
635635
```ruby
636636
u = User.create({name: "Tam Nguyen", email: "ntamvl@gmail.com"})
637637
ap u
638638
```
639-
639+
*next typing*
640+
```
641+
rails s
642+
```
643+
*then run in `Terminal`*
640644
```
641645
curl -H "Authorization: Token token=3Hu9orST5sKDHUPJBwjbogtt" http://localhost:3000/v1/users
642646
curl -H "Authorization: Token token=3Hu9orST5sKDHUPJBwjbogtt" http://10.1.0.132:3000/v1/users

0 commit comments

Comments
 (0)