Skip to content

Instantly share code, notes, and snippets.

View Anggasayogo's full-sized avatar
👋
Hello There~

Angga Mualana Anggasayogo

👋
Hello There~
View GitHub Profile
@Anggasayogo
Anggasayogo / postgres.md
Created July 17, 2023 14:20 — forked from phortuin/postgres.md
Set up postgres + database on MacOS (M1)

Based on this blogpost.

Install with Homebrew:

$ brew install postgresql@14

(The version number 14 needs to be explicitly stated. The @ mark designates a version number is specified. If you need an older version of postgres, use postgresql@13, for example.)

@Anggasayogo
Anggasayogo / ecosystem.config.json
Created March 19, 2023 05:13 — forked from WebSofter/ecosystem.config.json
Run laravel artisian serve script via pm2
{
"apps": [{
"name": "laravel-app",
"script": "artisan",
"args": ["serve", "--host=0.0.0.0", "--port=3333"],
"instances": "1",
"wait_ready": true,
"autorestart": false,
"max_restarts": 1,
"interpreter" : "php",