Skip to content

Commit 46e9046

Browse files
authored
Merge pull request #1461 from bcardiff/update-readme
Adjust run instruction with user content domain
2 parents 8ce9679 + abf59dc commit 46e9046

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,10 @@ If you want to run the server directly from the build tree, run
221221

222222
once to initialise the state. After that you can run the server with
223223

224-
cabal v2-run -- hackage-server run --static-dir=datafiles/ --base-uri=http://127.0.0.1:8080
224+
cabal v2-run -- hackage-server run --static-dir=datafiles --state-dir=state \
225+
--base-uri=http://127.0.0.1:8080 \
226+
--required-base-host-header=localhost:8080 \
227+
--user-content-uri=http://127.0.0.1:8080
225228

226229
By default the server runs on port `8080` with the following settings:
227230

0 commit comments

Comments
 (0)