If you are an interface administrator and you would like to update AFCH's code on Wikipedia to match the code located at the official GitHub repository (basically deploying approved patches to production), follow this work instruction.
To update AFCH to its latest version onwiki, you need to do the following.
python -m venv venv
./venv/Scripts/activate
source ./venv/bin/activate
pip install GitPython pywikibot
cd
) into the directory containing the git repository.pwb generate_user_files
18: wikipedia
en
Novem Linguae
)yes
18: wikipedia
test
Novem Linguae
)yes
AFCH_deploy_script
)git checkout master
git pull
npm install -g grunt-cli
npm install
pwb login
to login, verify that the last line says Logged in on wikipedia:test as <your username>.
python ./scripts/upload.py test MediaWiki:Gadget-afchelper
python ./scripts/upload.py en MediaWiki:Gadget-afchelper
Have deployed to enwiki before:
Knowledgeable of some of the process:
If you are an interface administrator and you would like to update AFCH's code on Wikipedia to match the code located at the official GitHub repository (basically deploying approved patches to production), follow this work instruction.
To update AFCH to its latest version onwiki, you need to do the following.
python -m venv venv
./venv/Scripts/activate
source ./venv/bin/activate
pip install GitPython pywikibot
cd
) into the directory containing the git repository.pwb generate_user_files
18: wikipedia
en
Novem Linguae
)yes
18: wikipedia
test
Novem Linguae
)yes
AFCH_deploy_script
)git checkout master
git pull
npm install -g grunt-cli
npm install
pwb login
to login, verify that the last line says Logged in on wikipedia:test as <your username>.
python ./scripts/upload.py test MediaWiki:Gadget-afchelper
python ./scripts/upload.py en MediaWiki:Gadget-afchelper
Have deployed to enwiki before:
Knowledgeable of some of the process: