website/.gitpod.yml

29 lines
926 B
YAML
Raw Normal View History

# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
checkoutLocation: tildeweb-ajhalili2006
image:
file: .gitpod.Dockerfile
tasks:
- init: |
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
command: |
source .venv/bin/activate
# since it might not be carried on venv shell, we did this instead
FF_ENABLE_COMMIT_DATA=true mkdocs serve
name: site-localdev
env:
FF_ENABLE_COMMIT_DATA: "true" # Required to use git-revision-date-localized, like in prod.
ports:
- port: 8000
onOpen: notify
visibility: public