Academia JavaEE Workspace in Ubuntu
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