Files
remark42/site
Dmitry VerkhoturovandUmputun 2d2f2ab02a return docker build for frontend and backend code outside in CI
Previously we built a Docker image just for the test,
but the introduction of multi-arch build in 9fbf0952
build also meant the push of the image, so it was
restricted only to the master branch.
This change re-introduces the Docker image build
outside the master branch, which is helpful
in pull requests.

We recently had a few frontend PRs which broke
the Docker image build silently, and that change
prevents it from happening.
2022-07-19 19:25:54 -05:00
..
2022-02-24 16:18:28 -06:00
2021-11-16 14:16:58 -06:00
2022-01-18 13:09:30 -06:00
2021-06-13 18:44:49 -05:00
2021-06-13 18:44:49 -05:00
2021-08-05 12:22:49 -05:00
2021-06-13 18:44:49 -05:00
2021-08-08 15:21:21 -05:00
2022-01-18 00:02:27 -06:00
2021-06-13 18:44:49 -05:00
2021-07-25 13:08:34 -05:00

Remark42 site

Work on your local environment

Requirements:

  • Node.js v14 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