Skip to content
/ minipent Public template
forked from pentaclexyz/minipent

mini pentacle - built for orgs to un-scale

Notifications You must be signed in to change notification settings

CRad14/minipent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

create new project in railway

create new > minipent-projectName-ui

create new > minipent-projectName

link each to minipent github repo and set settings to /frontend or /backend

create new > postgres db

get a database from the master database

$ PGPASSWORD=00000000000000 pg_dump -h containers-us-west-81.railway.app -U postgres -p 9999 -d railway > minipent-04.sql

connect to railway db and drop the public schema

$ PGPASSWORD=00000000000000 psql -h containers-us-west-92.railway.app -U postgres -p 7777 -d railway

$ DROP SCHEMA public CASCADE;

$ CREATE SCHEMA public;

import dumpfile to railway

navigate to minipent-db-backups dir

$ PGPASSWORD=00000000000000 psql -h containers-us-west-92.railway.app -U postgres -p 7777 -d railway < minipent-04.sql

and locally if you want local

$ createdb mp-local-04

$ psql mp-local-04 < minipent-04.sql

update backend/config/database.js

database: env('PGDATABASE', 'mp-local-04'),

deploy backend

$ railway link

select repo

$ railway up

select be instance to deploy

deploy frontend

$ railway link

select repo

$ railway up

select fe instance to deploy

About

mini pentacle - built for orgs to un-scale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.2%
  • CSS 10.6%
  • Shell 0.2%