Open leandrosardi opened 1 week ago
clone slave
clone sdk
bundler slave
bundler sdk
config.rb slave
config.rb sdk
replace s01
by sXX
in config.rb slave
replace s01
by sXX
in config.rb sdk
select password from "user" u where email='su'
select api_key from "account" u where "name"='su'
update "user" set "password"='******' where email='su';
update "account" set "api_key"='****' where "name"='su';
update the password and api key of su
in sXX
server.
extensions slave
extensions sdk
migrations slave (slave, extensions)
replace nginx file
SSL --> https://github.com/leandrosardi/my.saas/discussions/40
Below is the steps I perform manually to install both:
slave
andworker
nodes.Manual Installation
contratar servidores
configurar dominios
correr install.sh
conectar nueva base de datos desde DBever
configurar keepalive en Postgres
configurar keepalive en DBeaver
correr migraciones
source code of master
source code of slave
correr install.sh
mkdir code1
pull my.saas source
mv my.saas slave
crear config.rb de slave
pull codigo fuente de extensiones
run bundler
editar coneccion a postgres en config.rb
probar iniciar base de datos
cambiar password y api key de su user en s02
copiar archivo de configuracion de nginx
install ssl on s02 <-- https://github.com/leandrosardi/my.saas/issues/38
source code of worker
correr install.sh
mkdir code1
pull my.saas source
mv my.saas slave
crear config.rb de slave
pull codigo fuente de extensiones
run bundler
editar coneccion a postgres en config.rb
pull mass-sdk
mv mass-sdk sdk
crear config.rb de mass-sdk
run bundler
editar coneccion a API en config.rb
agregar nodos a uptime robot