Skip to content

Commit

Permalink
Mkdocs Material: Update install commands in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed Jul 26, 2024
1 parent 5227010 commit efd8a9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ remove-venv:
install-venv:
python3 -m venv venv
. ./venv/bin/activate
pip3 install wheel
./venv/bin/pip3 install wheel
ifdef GH_TOKEN
@echo "Found GH_TOKEN, installing mkdocs-material-insiders"
pip3 install --disable-pip-version-check git+https://${GH_TOKEN}@github.com/photoprism/mkdocs-material-insiders.git
./venv/bin/pip3 install --disable-pip-version-check git+https://${GH_TOKEN}@github.com/photoprism/mkdocs-material-insiders.git
else
@echo "GH_TOKEN not set in .env file, installing regular mkdocs-material"
pip3 install --disable-pip-version-check mkdocs-material
./venv/bin/pip3 install --disable-pip-version-check mkdocs-material
endif
pip3 install --disable-pip-version-check -r requirements.txt
./venv/bin/pip3 install --disable-pip-version-check -r requirements.txt
serve:
mkdocs serve -a 0.0.0.0:8000
./venv/bin/mkdocs serve -a 0.0.0.0:8000
build:
mkdocs build --config-file mkdocs.deploy.yml
./venv/bin/mkdocs build --config-file mkdocs.deploy.yml
deploy:
mkdocs gh-deploy --force --config-file mkdocs.deploy.yml
./venv/bin/mkdocs gh-deploy --force --config-file mkdocs.deploy.yml
pull:
git checkout master
git pull origin master
Expand Down

0 comments on commit efd8a9b

Please sign in to comment.