usememos / dotcom

https://www.usememos.com website
https://www.usememos.com
32 stars 52 forks source link

Development docs are inconsistent #150

Closed alexzaitsev closed 1 month ago

alexzaitsev commented 1 month ago

Describe the bug

Hi, I'm following https://www.usememos.com/docs/contribution/development to set up local dev environment (Working with Docker section).

There is no file scripts/docker-compose.dev.yaml in repository so docker compose run pnpm install cannot find it.

% docker compose run pnpm install
stat /Users/user/Documents/Develop/go/memos/scripts/docker-compose.dev.yaml: no such file or directory

I'm not sure, maybe docker-compose.dev.yaml was just renamed to compose.yaml so I tried to use it in .env:

COMPOSE_FILE=scripts/compose.yaml

but got the next error:

% docker compose run pnpm install
no such service: pnpm

Steps to reproduce

  1. clone the repo
  2. run .env init command
  3. run docker compose run pnpm install

The version of Memos you're using.

https://github.com/usememos/memos/commit/c12425329b2275df387f1a59b2ee1b78da300899

Screenshots or additional context

No response

boojack commented 1 month ago

This section may be outdated and has been removed. Thanks your feedback.

https://github.com/usememos/dotcom/commit/c1eaabed4c64f5c5d39a805fb99ebe5cd5e27313