mirror of
https://github.com/dargstack/dargstack-example.git
synced 2025-12-08 17:10:40 +01:00
A basic Nuxt app that is served as the main website with
dargstack.
| .github | ||
| .husky | ||
| .vscode | ||
| docker | ||
| src | ||
| .commitlintrc.js | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .nvmrc | ||
| .releaserc | ||
| .renovaterc | ||
| CHANGELOG.md | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
DargStack Example
This is just a basic Nuxt app that is served as the main website within the dargstack-example_stack.
Table of Contents
Quickstart
For deployment on a new server, e.g. a Debian machine at Hetzner Cloud, execute the following steps:
-
optional: create the server using your ssh public key
sshinto it as root- use hetzner-start.sh for minimal setup (update installation,
gitinstallation, user creation, hostname setting) exitthe current ssh session and reconnect using your just created user account- use docker-debian-amd64-start.sh to install Docker
- setup DNS for your server, e.g. using Cloudflare
-
install dargstack on your server as explained under dargstack/dargstack#installation-example
-
create a project directory like
dargstack/<namespace>:mkdir -p ~/dargstack/dargstack \ && cd ~/dargstack/dargstack -
clone your repository like
dargstack/dargstack-example_stack:git clone https://github.com/dargstack/dargstack-example_stack \ && cd dargstack-example_stack -
run
dargstack deploy -p latest, follow the instructions and you're done 🎉- if you encounter docker/for-linux issue #1199, run
sudo apt install apparmorand reboot - if ssl certificates do not work even after waiting some time, run
dargstack redeploy -p latest
- if you encounter docker/for-linux issue #1199, run