Skip to content

Update the README #12

Description

@Serneum
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions