18 lines
355 B
Markdown
18 lines
355 B
Markdown
Get up and running
|
|
|
|
1. Clone the repo
|
|
2. `bundle install`
|
|
3. install any other dependencies you're missing or prompted for
|
|
4. `rails db:create`
|
|
5. if you don't have permissions
|
|
|
|
```sh
|
|
$ sudo -u postgres createuser <username>
|
|
$ psql -U postgres
|
|
postgres=# ALTER USER <username> CREATEDB;
|
|
```
|
|
|
|
6. `rails db:migrate`
|
|
7. `rails server`
|
|
8. Open localhost:3000
|