Hardcoded directory

Open
#146 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, shell
Domain
devops

Research direction

Start with setup-test-environment.sh, especially the referenced line 32, and reproduce ./setup-test-environment.sh setup. Trace how the local environment value is used and why Docker requests appflowyinc/appflowy_web:local-11c20e5. Done means the setup no longer depends on the hardcoded directory and a localhost environment can start with an available image.

Written by the indexing model from the issue text.

Description

Hello,

I just ran ./setup-test-environment.sh setup and got

[ERROR] AppFlowy-Web-Premium directory not found at: /Users/weidongfu/Documents/AF/AppFlowy-Web-Premium

This is because of this

https://github.com/AppFlowy-IO/AppFlowy-Web/blob/11c20e59263dcfd07f6261177368a107610d739d/setup-test-environment.sh#L32

I changed the ENV to my local setup but still ran into

 ✘ appflowy_web Error manifest for appflowyinc/appflowy_web:local-11c20e5 not found: manifest unknown: manifest unknown                                                                                     1.9s 
Error response from daemon: manifest for appflowyinc/appflowy_web:local-11c20e5 not found: manifest unknown: manifest unknown

What should I do when I just want to start a localhost version to check things out?

Greetings

Dominant language
TypeScript
Stars
354
Forks
186
Avg merge
1d 7h
Merged PRs (30d)
71

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AppFlowy-IO/AppFlowy-Web

All issues in AppFlowy-IO/AppFlowy-Web

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.