Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Added local docker compose setup for development

Open cmraible opened this issue 1 year ago • 1 comments

no issue

  • Added Dockerfile for developing Ghost locally in a docker container
  • Added yarn up command and yarn compose command as convenience aliases for docker compose commands to avoid typing in the -f docker/docker-compose.yml for every command
  • This is the first step toward using things like devcontainers and Github Codespaces to create a simple, consistent developer experience for all contributors.
  • Moved to nodemon as Docker file sync appears to copy over a new file with the same name, breaking the way node --watch functions.

cmraible avatar Oct 10 '24 13:10 cmraible

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 73.81%. Comparing base (607dee2) to head (00c190f). Report is 250 commits behind head on main.

Files with missing lines Patch % Lines
ghost/core/core/shared/config/loader.js 83.33% 6 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #21279      +/-   ##
==========================================
+ Coverage   73.70%   73.81%   +0.10%     
==========================================
  Files        1285     1284       -1     
  Lines       76010    76465     +455     
  Branches    10114    10164      +50     
==========================================
+ Hits        56021    56440     +419     
- Misses      19060    19088      +28     
- Partials      929      937       +8     
Flag Coverage Δ
admin-tests 46.79% <ø> (+0.68%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 13 '24 16:10 codecov[bot]

This is ready to go, planning to merge first thing tomorrow AM.

cmraible avatar Oct 24 '24 05:10 cmraible