Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Server DB Setup #22

Open
0xLeif opened this issue Aug 25, 2022 · 0 comments
Open

Server DB Setup #22

0xLeif opened this issue Aug 25, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers wontfix This will not be worked on

Comments

@0xLeif
Copy link
Member

0xLeif commented Aug 25, 2022

Using Fluent

Install PostgreSQL

  • App: Use the app to start the Postgres server.
  • CLI

Setup DB and User

  1. brew install postgresql
  2. psql -U postgres
  3. create database vapor_database;
  4. \c vapor_database;
  5. create user oneleif_dev with encrypted password 'oneleif_password';
  6. grant all privileges on database vapor_database to oneleif_dev;
  7. \q

Finally

vapor run

@0xLeif 0xLeif pinned this issue Aug 25, 2022
@0xLeif 0xLeif added documentation Improvements or additions to documentation good first issue Good for newcomers wontfix This will not be worked on labels Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant