practicalli / practicalli/clojure

Set Socket Server IP and port in deps.edn alias

Open
#207 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clojure cli repl
Dominant language
Makefile
Stars
117
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Given a dev.edn :

{:paths ["src/clj" "classes"]
 :deps {org.clojure/clojure {:mvn/version "1.10.1"}
        com.sikulix/sikulixapi {:mvn/version "2.0.4"
                                :exclusions [bouncycastle/bctsp-jdk14]}}
 :aliases {:dev {:jvm-opts ["-Dclojure.server.repl={:port,5555,:address,\"10.10.20.82\",:accept,clojure.core.server/repl}" "-Dfile.encoding=UTF-8"]}}}

How to deal with :address inside jvm-opts .

 :aliases {:dev {:jvm-opts ["-Dclojure.server.repl={:port,5555,:address,\"\"\"10.10.20.82\"\"\",:accept,clojure.core.server/repl}" "-Dfile.encoding=UTF-8"]}}

Seems to work on Windows Powershell, Windows WSL, Linux, and macOS

Contributor guide

Open the 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.

Research direction

Review the dev.edn and deps.edn alias examples in the issue first, focusing on the jvm-opts value for the Clojure server address and port. Verify the reported syntax on the platforms mentioned, then update the relevant documentation so the supported configuration and expected result are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.