All Projects → muan → deploying-with-now

muan / deploying-with-now

Licence: MIT license
A simple node server demo for deploying with https://zeit.co/now.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to deploying-with-now

Docker-Templates
Docker configurations for TheHive, Cortex and 3rd party tools
Stars: ✭ 71 (+255%)
Mutual labels:  deployment
configurator
Synchronize and Version Control ConfigMaps & Secrets across Deployment Rollouts.
Stars: ✭ 68 (+240%)
Mutual labels:  deployment
buffalo-heroku
Archived use github.com/gobuffalo/buffalo-heroku
Stars: ✭ 16 (-20%)
Mutual labels:  deployment
deployer-php-action
Deploy PHP projects using Deployer from Github Actions
Stars: ✭ 57 (+185%)
Mutual labels:  deployment
batou
batou is a universal, fractal deployment utility using Python.
Stars: ✭ 37 (+85%)
Mutual labels:  deployment
deployadactyl
Make deployment downtime extinct
Stars: ✭ 81 (+305%)
Mutual labels:  deployment
build-plugin-template
Template repository to create new Netlify Build plugins.
Stars: ✭ 26 (+30%)
Mutual labels:  deployment
cdk-ecr-deployment
A CDK construct to deploy docker image to Amazon ECR
Stars: ✭ 51 (+155%)
Mutual labels:  deployment
kuberay
A toolkit to run Ray applications on Kubernetes
Stars: ✭ 146 (+630%)
Mutual labels:  deployment
useful-playbooks
🚚 Useful Ansible playbooks for easily deploy your website or webapp to absolutely fresh remote virtual server and automation many processes. Only 3 minutes from the playbook run to complete setup server and start it.
Stars: ✭ 52 (+160%)
Mutual labels:  deployment
gcloud-deploy-tutorial
How to continuously deploy a Full Stack React +Node.js +MySql App to Google Cloud Compute Engine
Stars: ✭ 19 (-5%)
Mutual labels:  deployment
Cloud-PAW-Management
Simplify PAW and SPA for the masses, unify the MS Internal, and public PAW specs, and expedite deployment to ~5min or less.
Stars: ✭ 45 (+125%)
Mutual labels:  deployment
server-instant-start
Spin up a fully configured Ubuntu/Debian-based web server in under 10 minutes with Nginx (w/ HTTPS), PHP FPM, Postfix, OpenDKIM, MySQL/MariaDB, PostgreSQL, and more. Deploy your web application too.
Stars: ✭ 17 (-15%)
Mutual labels:  deployment
terraform-module-icp-deploy
This Terraform module can be used to deploy IBM Cloud Private on any supported infrastructure vendor. Tested on Ubuntu 16.04 and RHEL 7 on SoftLayer, VMware, AWS and Azure.
Stars: ✭ 13 (-35%)
Mutual labels:  deployment
deployer
a Go docker-compose multi-stages deployer.
Stars: ✭ 24 (+20%)
Mutual labels:  deployment
gaffer-tools
Essential tools and utilities for Gaffer; including GUI, local accumulo cluster, python api
Stars: ✭ 43 (+115%)
Mutual labels:  deployment
random-dose-of-knowledge
Using the latest Software Engineering practices to create a modern and simple app.
Stars: ✭ 26 (+30%)
Mutual labels:  deployment
extensiveautomation-server
Extensive Automation server
Stars: ✭ 19 (-5%)
Mutual labels:  deployment
librephotos-docker
You can find here the Dockerfiles for the automated build process of LibrePhotos.
Stars: ✭ 81 (+305%)
Mutual labels:  deployment
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+260%)
Mutual labels:  deployment

Deploying with now

This documents how to deploy a simple node app to https://zeit.co/now, set up alias, and configure environment variables. Check out this test site at https://muan-testing.now.sh.

Steps

  1. Fork this repository or have your project ready with npm start script and these configurations in your package.json.

  2. Get an account at https://zeit.co/login.

  3. Install now CLI with npm install now -g.

  4. Authenticate and deploy with now --public.

  5. Set an environment variable with now secrets [name] [value].

  6. Alias deployment with now ln.

  7. 🎉.

Details

now --public

Deploys your project and marks it as public. The --public flag prevents you from having to confirm that your project will be public.

"Public" means that people will be able to view your source code and logs via deployment_url/_logs. For example, https://muan-testing.now.sh/_logs.

now ln

Aliases your deployment.

Every deployment gets a new random URL like projectname-aicbqophhw.now.sh. This command aliases your latest deployment with the name set in package.json.

⚠️ Old deployments stay around til it's frozen or manually removed (which takes a while to die completely). This means if your app is actively pulling, listening, or actiing on things, it will not stopped immediately on demand – you might get into a situation where multiple versions of your script is running.

Environment variables

Expose your secret environment variables to your app in package.json. The @ before the variable name tells now to look for variable of that name in the secrets.

Doc links

aliases, env-and-secrets.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].