Skip to content

Commit

Permalink
Document 'make server-no-pip'
Browse files Browse the repository at this point in the history
  • Loading branch information
melvo committed Dec 12, 2023
1 parent b4dbfe8 commit b8ab70e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ TOOLSDIR=$(BASEDIR)/tools
BASEURL=https://providers.xmpp.net/

help:
@echo 'Makefile for a hugo website '
@echo ' '
@echo 'Usage: '
@echo ' make clean remove the generated files '
@echo ' make publish generate using production settings '
@echo ' make serve serve site at http://localhost:1313'
@echo ' '
@echo 'Makefile for a hugo website '
@echo ' '
@echo 'Usage: '
@echo ' make clean remove the generated files '
@echo ' make publish generate using production settings '
@echo ' make serve serve site at http://localhost:1313 '
@echo ' make serve-no-pip serve site at http://localhost:1313 without using PIP'
@echo ' '

clean:
[ ! -d $(OUTPUTDIR) ] || rm -rf $(OUTPUTDIR)
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ Running the server in development mode (reloads whenever a file is changed):
make serve
```

or, to use installed dependencies instead of using pip:

```bash
make serve-no-pip
```

View at `http://localhost:1313`

### Run via Docker
Expand Down

0 comments on commit b8ab70e

Please sign in to comment.