Academia JavaEE Workspace in Ubuntu

From Chorke Wiki
Revision as of 10:44, 5 January 2021 by Shahed (talk | contribs) (→‎Schema)
Jump to navigation Jump to search

Java

PostgreSQL

Install

createdb $USER

Schema

CREATE DATABASE academia;
CREATE USER academia WITH ENCRYPTED PASSWORD 'academia';
GRANT ALL PRIVILEGES ON DATABASE academia TO academia;
psql academia < academia.sql

Redis

systemctl status redis-server

Workspace

mkdir -p $HOME/chorke
mkdir -p /opt/dev/$USER/chorke/academia

export ACADEMIA_WSS="$HOME/chorke/academia"
ln -s /opt/dev/$USER/chorke/academia $ACADEMIA_WSS
ls -lah $HOME/chorke

References