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 rails db:setup step to readme #36

Merged
merged 3 commits into from
Jul 30, 2023
Merged

Add rails db:setup step to readme #36

merged 3 commits into from
Jul 30, 2023

Conversation

suttondemlong
Copy link
Collaborator

Adds the db:setup command to the readme for people new to the project.

@garettarrowood garettarrowood merged commit 5d6e9e9 into main Jul 30, 2023
4 checks passed
@garettarrowood garettarrowood deleted the add-to-readme branch July 30, 2023 16:58
be accessed at `http://localhost:3000`.

To set up the database the first time run, `docker compose run --rm stocks bin/rails db:setup`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within the container, this shouldn't be necessary -- the entrypoint script handles making sure the database is up to date and migrated.

it's necessary when running outside docker, but we don't have an instruction block for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants