Skip to content

LEEY19/medi-file-mgmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  • Make sure brew, node and PostgreSQL are installed
  • Clone the repo
  • Ensure PostgreSQL is started by running
brew services restart postgresql
  • Install Sequelize CLI by running
npm install -g sequelize-cli
  • If "postgres" as a role is not created yet, do the following:
    • Enter PostgreSQL command line by typing:
    psql postgres
    
    • Create role by typing
    CREATE ROLE postgres WITH LOGIN PASSWORD ‘{YOUR_PASSWORD}’;
    
    • Give role permission to create database by typing
    ALTER ROLE postgres CREATEDB;
    
  • Install all dependencies by typing
npm install
  • Create database by typing:
sequelize db:create
  • Start app by typing
node app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published