Skip to content

cjdellomes/OrgSoft

Repository files navigation

OrgSoft

Read the Project Proposal

Read the Requirements Specification

Read the Detailed Design Document

Requirements

Install npm and postgres if you don't already have them installed

brew install node
brew install postgresql

Installation

download and install packages

git clone https://github.com/cjdellomes/OrgSoft.git
cd OrgSoft
npm install

configure database with user and database for project by having config/create_orgsoft.sql

CREATE USER {user} WITH PASSWORD '{password}';
CREATE DATABASE {db, default orgsoft} OWNER {user};
ALTER USER {user} WITH SUPERUSER;
GRANT ALL PRIVILEGES ON DATABASE "{db, default orgsoft}" to "{user}";

configure server with database access by having config/set_env.sh

echo 'postgres://{user}:{password}@{host, default localhost}:{port, default 5432}/{db, default orgsoft}'

Alternately, get the most recent config folder from Team member/Slack. The most recent config is from Oct, 30.

Using Database

Initialize PostgreSQL for OrgSoft

npm run db-init

Start Database

npm run db-start

Stop Database

npm run db-stop

Reset Database (stop, initialize, start)

npm run db-reset

Running & Development

Start server

npm start

Alternately, start server to auto restart when a file changes, provided by nodemon

npm run nodemon

Note that since authorization now is partially functional, you will most likely have to login to try out the site.

Run Tests

npm test
npm run lint

About

HR Software for Businesses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •