Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add asdf instructions #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ruby 3.3.0
redis 7.2.5
nodejs 18.19.1
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,25 @@ This application uses:
- sqlite 3
- redis

If you are using [asdf](https://asdf-vm.com/guide/getting-started.html), you can get them by running:
```bash
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf plugin-add redis https://github.com/smashedtoatoms/asdf-redis.git

asdf install
asdf exec redis-server
```

Have them installed, clone repo and run:

```
```bash
$ bundle
$ rails db:setup
```



You can run `rails db:seed` many times to have more data.

Use `rails s` to run the server.
Expand Down