Skip to content

Audentio/demo-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Apps to Audentio's Cloud

Install deployz

    npm install -g deployz

Create an .env.deploy file in the root of your project:

##############################################
# deployment vars for the deployit.js script
# deploy an instance to kubernetes running with rancher at audent.ai
##############################################

# API KEY IS REQUIRED to deploy to the remote server
API_KEY_DEPLOY=

# OPTIONAL: these will be calculated if not provided
PORT_DEPLOY=3000
HOST_DEPLOY=myapp.audent.ai
NAME_DEPLOY=myapp

run the deploy command from your terminal

user:~$ deployit

Done! Your app is now deployed to https://myapp.audent.ai

NOTES

  • assumes a non-nextjs or non-nestjs nodejs app starts with npm run start

  • will auto detect nextjs and nestjs aps and deploy them accordingly

  • will auto detect the port of the app if not provided in the env.deploy file, or default to 3000

  • will auto detect the host of the app if not provided in the .env.deploy file, or default to package.json name

  • will auto detect the name of the app if not provided in the .env.deploy file, or default to package.json name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published