Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.

Commit 895cae3

Browse files
committed
Switch to pipenv
1 parent 5490b26 commit 895cae3

File tree

4 files changed

+143
-8
lines changed

4 files changed

+143
-8
lines changed

Pipfile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[[source]]
2+
url = "https://pypi.python.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
pelican = "*"
8+
ghp-import = "*"
9+
cssmin = "*"
10+
11+
[dev-packages]

Pipfile.lock

+126
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@ Switch to the `source` branch.
1515

1616
Install dependencies.
1717

18-
pip install -r requirements.txt
18+
pipenv install
1919

2020
Run the devserver.
2121

22-
make devserver
22+
pipenv run make devserver
2323

24-
Now you can browse the website at `http://localhost:8000/`.
24+
Now you can browse the website at `http://localhost:8000/`. To stop the server,
25+
run `pipenv run make stopserver`.
2526

2627
## Deployment
2728

2829
For deploying the website, the rendered HTML needs to be pushed to the `master`
2930
branch. This can be done via the `Makefile` and the `ghp-import` script:
3031

31-
make clean html
32-
make github
32+
pipenv run make clean html
33+
pipenv run make github
3334

3435
The current version should be live now.

requirements.txt

-3
This file was deleted.

0 commit comments

Comments
 (0)