34 lines
701 B
Markdown
34 lines
701 B
Markdown
# Ministry of Influence website
|
|
|
|
Astro static site for `ministryofinfluence.org`.
|
|
|
|
## Local development
|
|
|
|
```sh
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
## Build
|
|
|
|
```sh
|
|
npm run build
|
|
```
|
|
|
|
The deployable output is `dist/`.
|
|
|
|
## Deployment
|
|
|
|
The production document root is `/srv/moi-websites/ministry` on the Hostinger
|
|
VPS. Agents should retrieve the dedicated deployment values process-locally
|
|
from Infisical project `Influence Infrastructure`, environment `prod`, using
|
|
the following keys:
|
|
|
|
- `MOI_HOSTINGER_DEPLOY_HOST`
|
|
- `MOI_HOSTINGER_DEPLOY_PORT`
|
|
- `MOI_HOSTINGER_DEPLOY_USER`
|
|
- `MOI_HOSTINGER_DEPLOY_PRIVATE_KEY`
|
|
- `MOI_MINISTRY_SITE_PATH`
|
|
|
|
Never commit credentials or copy secret values into this repository.
|