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

Update the README #12

Open
Serneum opened this issue Oct 12, 2016 · 0 comments
Open

Update the README #12

Serneum opened this issue Oct 12, 2016 · 0 comments

Comments

@Serneum
Copy link
Member

Serneum commented Oct 12, 2016

  • Add heroku run "mix ecto.migrate" when adding new models
  • Add heroku run "POOL_SIZE=2 mix run priv/repo/seeds.exs" when we need to reseed data (Can 2 become any number up to 18?)
  • Add information on setting up psql:
    • brew install postgres
    • Add information on adding a new superuser in psql: createuser -s admin
    • Set up autostart for psql: mkdir -p ~/Library/LaunchAgents && ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
    • Start psql: launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
  • Add creation/setup of db:
    • mix ecto.create && mix ecto.migrate && mix run priv/repo/seeds.exs
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

No branches or pull requests

1 participant