mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-28 19:23:39 +00:00
28 lines
No EOL
998 B
YAML
28 lines
No EOL
998 B
YAML
# 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: ghcr.io/ajhalili2006/ajhalili2006.github.io/devenv:commit-8e8a1e4d9dea4af2ffcbe874f44617b7b425788d
|
|
|
|
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 |