- Node.js 20
- Yarn
- Postgresql 15: https://postgresapp.com
-
Clone plasmic:
git clone https://github.com/plasmicapp/plasmic.git cd plasmic
-
Install dependencies:
yarn
-
Setup plasmic app and database:
yarn setup export PATH=/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH no_sudo=1 yarn db:setup yarn setup-all
-
Starting plasmic app:
yarn dev
Now open http://localhost:3003/ in browser. Signup to the account using your email. You won't receive verification email link. You can see verification email link in console.
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "postgres" Open the pg_hba.conf file. It's typically located in /etc/postgresql/{version}/main/ on Linux or /var/lib/pgsql/{version}/data/ on some other systems. The file contains the authentication rules for PostgreSQL. For example: sudo nano /etc/postgresql/15/main/pg_hba.conf Find the line that mentions local connections for the postgres user (or any user). It might look like this: local all postgres peer Change the peer method to trust Reload PostgreSQL Configuration After making changes to pg_hba.conf, reload PostgreSQL for the changes to take effect: sudo systemctl reload postgresql