Skip to content

ericjohnf/hierarchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup instructions:

Install requirements

pip install -r requirements.txt

Install PostgreSQL

brew install postgres

To run database locally

initdb -D /usr/local/pgsql/data
pg_ctl -D /usr/local/pgsql/data -l logfile start
createdb namely
psql -c "CREATE ROLE local_user SUPERUSER LOGIN CREATEDB CREATEROLE REPLICATION;"
psql -c "GRANT ALL PRIVILEGES ON DATABASE namely TO local_user;"
psql namely < schema.sql

Run the app

python run.py

About

build a simple company hierarchy tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published