Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Yoedka/osekbg

 
 

Repository files navigation

OsekBG - Remove Background image

Word Osek is adapted from Sasak Language that means remove. And I call it OsekBG which stands for Osek Background or Remove Background

Deployment

Send source code to the Linux Server

rsync -avz \
  --exclude=".svelte-kit" \
  --exclude="node_modules" \
  --exclude=".github" \
  --exclude=".git" \
  --exclude="build" \
  -e "ssh -p <PORT> -i ~/.ssh/<SSH_PRIVATE_KEY>" \
  ./ <USER>@<IP_ADDRESS>:<PATH_TO_DIR>

Install Dependencies

pnpm install

Build

pnpm build

If build success, build artifact available at ./build. Now set environment to production

export NODE_ENV=production

Build with Docker Compose:

docker-compose up -d

Setup pm2

Install pm2 globally

npm install -g pm2

Start the app as daemon service

pm2 start server.js --name "OsekBG"

Continous Deployment

Just run the Makefile script

make upload-deploy

About

OsekBG is a background image remover app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 62.0%
  • TypeScript 18.6%
  • JavaScript 6.8%
  • CSS 6.1%
  • Makefile 3.5%
  • Dockerfile 1.6%
  • HTML 1.4%