Files
remark42/site
Dmitry VerkhoturovandUmputun dd2cff6a13 Clarify ALLOWED_HOSTS description and usage
This clarifies that the parameter sets CSP 'frame-ancestors'
to limit hosts allowed to embed comments. The commit also improves
the documentation on how to use ALLOWED_HOSTS with AUTH_SAME_SITE
for different setup scenarios.

We might want to change AUTH_SAME_SITE to `strong` in v2.0 as it works
on the subdomain of the same site as well as current Lax option.
2024-10-20 17:17:35 -05:00
..
2022-02-24 16:18:28 -06:00
2021-11-16 14:16:58 -06:00
2023-06-06 15:22:02 -05:00
2021-06-13 18:44:49 -05:00
2021-06-13 18:44:49 -05:00
2024-02-25 18:27:06 -06:00
2024-02-25 18:27:06 -06:00
2024-02-25 18:27:06 -06:00
2024-02-25 18:27:06 -06:00
2021-06-13 18:44:49 -05:00
2024-02-25 18:27:06 -06:00

Remark42 site

Work on your local environment

Requirements:

  • Node.js v20 or higher - install from package or with Homebrew
  • Yarn 1.22 or higher - once you have Node.js, run npm i -g yarn

Development

Install dependencies and start the development server:

yarn
yarn dev

Build

yarn build

Work with Docker Compose

Build

Install dependencies and run development server inside Docker:

docker compose build
docker compose up server

Then serve files from ./build with your favorite server

Development

docker compose up --build server

Then head to http://localhost:8080