- Install, start and open PostgreSQL
brew install postgresql
brew services start postgresql
psql postgres
- Create database
CREATE DATABASE aldi;
- Create user
CREATE USER aldi_user WITH PASSWORD '12345';
- Setting permissions for the user.
GRANT ALL PRIVILEGES ON DATABASE "aldi" TO aldi_user;
1.Web server failed to start. Port 8080 was already in use.
lsof -i :8080
kill -9