8000 GitHub - voidagency/vactory_nextjs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.

voidagency/vactory_nextjs

Repository files navigation

vactory_nextjs

Docker

Build & Run Starter App (project)

$ docker build -t vactory-app . --target runner_app
$ docker run -p 3000:3000 vactory-app

Build & Run UI

$ docker build -t vactory-ui . --target runner_ui
$ docker run -p 8080:8080 vactory-ui

Build & Run Docs

$ docker build -t vactory-docs . --target runner_docs
$ docker run -p 8080:8080 vactory-docs

Capistrano

$ cd capistrano
$ bundle install
  • On your server, make sure you create your env file ./shared/apps/starter/.env
  • On your server, generate an ssh key using ssh-keygen no-password and add it to your bitbucket repository (access keys) so that your server can successfully run git pull commands

Command-line usage

# list all available tasks
$ bundle exec cap -T

# deploy to the staging environment
$ bundle exec cap staging deploy

# deploy to the production environment
$ bundle exec cap production deploy

# simulate deploying to the production environment
# does not actually do anything
$ bundle exec cap production deploy --dry-run

# list task dependencies
$ bundle exec cap production deploy --prereqs

# trace through task invocations
$ bundle exec cap production deploy --trace

# lists all config variable before deployment tasks
$ bundle exec cap production deploy --print-config-variables

SSH Passwordless

$ ssh-copy-id remote_username@server_ip_address

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

0