gitnvm(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash)nodejspnpmnginxufwcontainerddockeropensslmicro
tsxpockethost
- Setup SSH
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
- Clone repo
git clone https://github.com/benallfree/pockethost.git pockethost
cd pockethost
- Copy the environment file
cp .env-template .envmicro .env - Then change the rest of the file contents from
/path/to/dist/to/root/ph/then make the respective directories in/root - Add
TEMP_EMAIL&TEMP_PASSWORDto the.envas well - Add Open SSL certificate
.key&.crtto/root/ph/or the path you set in the.env
openssl genrsa -out pockethost.key 2048
openssl req -key pockethost.key -new -x509 -days 365 -out pockethost.crt
-
Run
cat ./setup.sh | bash -
Run
pnpm dev:cli