Hi, I contributed few times in past few months and I want to continue with this initiative. Since I have my local env ready, I decided to try to learn how to do it from scratch (because I want to learn it).
What was the steps:
I forked repository, and set up forked repo with upstream:
git remote add upstream https://github.com/penpot/penpot/
I checked if everything is connected:
ondrej@Ondrej-MacBook-Pro penpot % git remote -v
origin https://github.com/ondrejkonec/penpot.git (fetch)
origin https://github.com/ondrejkonec/penpot.git (push)
upstream https://github.com/penpot/penpot.git (fetch)
upstream https://github.com/penpot/penpot.git (push)
I make sure I have everything up to date:
git fetch upstream
ondrej@Ondrej-MacBook-Pro penpot % git fetch upstream
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 28 (delta 18), reused 28 (delta 18), pack-reused 0
Unpacking objects: 100% (28/28), 344.38 KiB | 4.30 MiB/s, done.
From https://github.com/penpot/penpot
82f428676..65f595076 niwinz-experiments-5 -> upstream/niwinz-experiments-5
I pull as recommended on documentation:
./manage.sh pull-devenv
ondrej@Ondrej-MacBook-Pro penpot % ./manage.sh pull-devenv
+ case $1 in
+ pull-devenv
+ set -ex
+ docker pull penpotapp/devenv:latest
latest: Pulling from penpotapp/devenv
Digest: sha256:9e7cec84a1d344c8b86933607298d4e678e058ff78107934cbf473cc2ce02558
Status: Image is up to date for penpotapp/devenv:latest
docker.io/penpotapp/devenv:latest
I run local dev env:
./manage.sh run-devenv
It open TMUX on window 3 - backend with this log:
penpot@b62fa2b80c69:~/penpot/backend$ ./scripts/start-dev
+ '[' '' = --watch ']'
+ clojure -A:dev -M -m app.main
WARNING: abs already refers to: #'clojure.core/abs in namespace: clojure.math.numeric-tower, being replaced by: #'clojure.math.numeric-tower/abs
WARNING: abs already refers to: #'clojure.core/abs in namespace: clojure.contrib.humanize, being replaced by: #'clojure.math.numeric-tower/abs
Reflection warning, user.clj:113:28 - call to static method alength on clojure.lang.RT can't be resolved (argument types: unknown).
Reflection warning, user.clj:114:28 - call to static method alength on clojure.lang.RT can't be resolved (argument types: unknown).
Reflection warning, user.clj:115:28 - call to static method alength on clojure.lang.RT can't be resolved (argument types: unknown).
Reflection warning, user.clj:116:28 - call to static method alength on clojure.lang.RT can't be resolved (argument types: unknown).
Reflection warning, user.clj:117:28 - call to static method alength on clojure.lang.RT can't be resolved (argument types: unknown).
[2023-04-26 13:55:47.075] I app.metrics - action="initialize metrics"
[2023-04-26 13:55:47.128] I app.db - hint="initialize connection pool", name="main", uri="postgresql://postgres/penpot", read-only=false, with-credentials=true, min-size=0, max-size=60
[2023-04-26 13:55:47.312] I app.migrations - hint="running migrations", module=:app.migrations/migrations
[2023-04-26 13:55:48.581] I app.redis - hint="initialize redis resources", uri="redis://redis/0", io-threads=3, worker-threads=3, connect?=nil
[2023-04-26 13:55:51.855] I app.msgbus - hint="initialize msgbus", buffer-size=128
[2023-04-26 13:55:55.188] I app.setup.builtin-templates - hint="loading template files", total=9
[2023-04-26 13:55:56.429] I app.http - hint="starting http server", port=6060, host="0.0.0.0"
[2023-04-26 13:55:56.892] I io.undertow - starting server: Undertow - 2.3.0.Final
[2023-04-26 13:55:57.056] I org.xnio - XNIO version 3.8.8.Final
[2023-04-26 13:55:57.226] I org.xnio.nio - XNIO NIO Implementation Version 3.8.8.Final
[2023-04-26 13:55:57.755] I org.jboss.threads - JBoss Threads version 3.5.0.Final
[2023-04-26 13:55:58.278] I app.loggers.database - hint="initializing database error persistence"
[2023-04-26 13:55:58.280] I app.storage.tmp - hint="started tmp file cleaner"
[2023-04-26 13:55:58.292] I app.worker - hint="registry initialized", tasks=13
[2023-04-26 13:55:58.296] I app.worker - hint="cron: started", tasks=8
[2023-04-26 13:55:58.315] I app.worker - hint="dispatcher: started"
[2023-04-26 13:55:58.316] I app.worker - hint="monitor: started", name="default"
[2023-04-26 13:55:58.336] I app.worker - hint="worker: started", worker-id=0, queue="default"
[2023-04-26 13:55:58.338] I app.srepl - msg="initializing repl server", name="prepl", port=6063, host="localhost"
[2023-04-26 13:55:58.342] I app.worker - hint="worker: started", worker-id=0, queue="webhooks"
[2023-04-26 13:55:58.352] I app.srepl - msg="initializing repl server", name="urepl", port=6062, host="localhost"
[2023-04-26 13:55:58.360] I app.main - hint="welcome to penpot", flags="login-with-password,audit-log,backend-api-doc,fdata-storage-pointer-map,demo-users,urepl-server,webhooks,backend-worker,backend-asserts,fdata-storage-objets-map,smtp,email-verification,registration,prepl-server,transit-readable-response", worker?=true, version="develop"
My app is running (take 5-10min to load) with this error:
Do you think that there is something wrong since there is long loading? Thanks!