Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: explain how to build with docker #2

Merged
merged 1 commit into from
Aug 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# webext created files
web-ext-artifacts/

# Windows image file caches
Thumbs.db
ehthumbs.db
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,16 @@ The extension is now installed, and will appear at the top right, if you are log
* Menu "load a temporary module" > pick the file generated from the `web-ext build` command
* redo this operation each time you want to use it

* Note: if you want to do the "build" method above without installing npm, you might use docker:
* go to the project directory
* launch `docker run --rm -ti -v $(pwd):/home/node node:lts-slim bash`
* within the container run the following:
```bash
cd /home/node
npm install --global web-ext
web-ext build
exit
```
* the extension will be inside the `web-ext-artifacts` folder

The extension is now installed, and will appear at the top right, if you are logged into your account, in the form of a red button with a white pencil