Update README.md

This commit is contained in:
Gabe Farrell 2023-04-13 20:37:10 -04:00
parent 513574c3b9
commit e58874523b

View file

@ -1,24 +1,30 @@
# README # Starting the Dev Server
The development server can be run by executing the `dev` file in the `bin` directory.
```bash
bin/dev
```
This README would normally document whatever steps are necessary to get the When running the development server for the first time, the postgres database will need to be created. You can do this by running `rails db:create` in the project directory.
application up and running. ## Dependencies
### Posgres
Things you may want to cover: ```bash
sudo apt install postgresql-all
* Ruby version ```
Then check if postgres is running with
* System dependencies ```bash
sudo systemctl status postgresql.service
* Configuration ```
Note: ensure the user you are running postgres as has necessary permissions. They can be added with:
* Database creation ```bash
sudo su - postgres
* Database initialization psql # enter postgres console
ALTER USER my_user WITH Superuser;
* How to run the test suite ```
Added permissions can be confirmed with `\du` within the psql console.
* Services (job queues, cache servers, search engines, etc.) ## JavaScript Dependencies
Install JS dependencies with:
* Deployment instructions ```bash
yarn install
* ... ```
## Guard
Guard is installed and can be run with `bundle exec guard`