pocketwatch

(★ 29)

Self-hosted minimal time tracking.

File Explorer

  • .dockerignore
  • .gitignore
  • _docker-build.ps1
  • _docker-cleanup.ps1
  • _docker-logs.ps1
  • _docker-restart.ps1
  • _docker-run.ps1
  • _docker-stop.ps1
  • ca_profile.xml
  • docker-compose.yaml
  • Dockerfile
  • LICENSE
  • nginx.conf
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

docker build

View Details ▼

Build an image from a Dockerfile.

docker build .

Build a Docker image using the Dockerfile in the current directory:

docker build {{github.com/creack/docker-firefox}}

Build a Docker image from a Dockerfile at a specified URL:

docker build {{[-t|--tag]}} {{name:tag}} .

Build a Docker image and tag it:

🔍

docker compose up

View Details ▼

Start and run Docker services defined in a Compose file.

docker compose up

Start all services defined in the docker-compose file:

docker compose up {{[-d|--detach]}}

Start services in the background (detached mode):

docker compose up --build

Start services and rebuild images before starting:

🔍

docker run

View Details ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

git pull

View Details ▼

Fetch branch from a remote repository and merge it to local repository.

git pull

Download changes from default remote repository and merge it:

git pull {{[-r|--rebase]}}

Download changes from default remote repository and use fast-forward:

git pull {{remote_name}}

Download changes from a specific remote repository:

🔍

npm ci

View Details ▼

Clean install of `npm` project dependencies for automated environments.
Installs packages based on `package-lock.json` or `npm-shrinkwrap.json`.

npm ci

Install project dependencies from `package-lock.json` or `npm-shrinkwrap.json`:

npm ci --omit {{dev|optional|peer}}

Install project dependencies but skip the specified dependency type:

npm ci --ignore-scripts

Install project dependencies without running any pre-/post-scripts defined in `package.json`:

🔍

npm run

View Details ▼

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

// repository documentation