-
Notifications
You must be signed in to change notification settings - Fork 620
Hosting on GitHub pages
Tulir Asokan edited this page Sep 17, 2020
·
4 revisions
If you don't have a webserver to run the files on, you can also use something like GitHub pages.
- Fork the repo
- Go to settings
- Scroll down to the bottom to the "GitHub Pages" section"
- In the "Source" dropdown, select "master"
- Click "Save"
- Clone your fork (
git clone [email protected]:username/stickerpicker.git
) - Follow the instructions in Creating packs to create packs. N.B. Skip step 1 of the install instructions as you already cloned your fork of the repo.
- Commit your changes (
git add web/packs && git commit
) and push (git push
) - Follow the instructions in Enabling the widget using
https://username.github.io/stickerpicker/web/?theme=$theme
as theurl
field.
To add more packs, simply do steps 7 and 8 again.
To update your copy of the sticker picker to the latest version, first add the upstream repo as a remote: git remote add upstream https://github.com/maunium/stickerpicker.git
(this only needs to be done once). Then whenever you want to update, run git fetch upstream
, git merge upstream/master
and git push