Skip to content

Commit

Permalink
Update installation instructions & update dependencies (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
areee authored Aug 6, 2022
1 parent c71e07e commit 8d11630
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
8 changes: 7 additions & 1 deletion INSTALLATION.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Installation

## Install Chrome extension & clone this project
## Prerequisites
- Dart (e.g. comes with Flutter)
- Google Chrome
- Git

## Install Chrome extension, clone this project & get dependencies

1. Download a Chrome extension called "[snapshot-as-html](https://github.com/areee/snapshot-as-html)" (edited by the author of this project).
- In the [latest release page](https://github.com/areee/snapshot-as-html/releases/latest), go to the assets section and click the "Source code (zip)" link. It'll download the source code to your computer.
- Unzip the zip file.
- Open Google Chrome and go to the [Extensions page](chrome://extensions) (chrome://extensions).
- Enable the developer mode and click "Load unpacked". Browse to the unzipped folder (e.g. `snapshot-as-html-0.1.0`) and go to the subdirectory (`snapshot-as-html`). That folder should include all the extension files, e.g. `manifest.json`. Click "Select" in the open dialog and Google Chrome will load the extension.
2. Git clone this project (or Code → Download ZIP) under your Documents folder (or anywhere you like). Set an alias to use it with `kassakuitti` command (see the next section).
3. Go to the project folder (`cd dart_kassakuitti_cli`) and get the project dependencies (`dart pub get`).

## Set an alias

Expand Down
36 changes: 18 additions & 18 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ packages:
name: _fe_analyzer_shared
url: "https://pub.dartlang.org"
source: hosted
version: "40.0.0"
version: "44.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.0"
version: "4.4.0"
ansicolor:
dependency: "direct main"
description:
Expand Down Expand Up @@ -49,7 +49,7 @@ packages:
name: build_config
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.1.0"
build_daemon:
dependency: transitive
description:
Expand All @@ -70,7 +70,7 @@ packages:
name: build_runner
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.11"
version: "2.2.0"
build_runner_core:
dependency: transitive
description:
Expand All @@ -91,7 +91,7 @@ packages:
name: built_value
url: "https://pub.dartlang.org"
source: hosted
version: "8.3.2"
version: "8.4.0"
checked_yaml:
dependency: transitive
description:
Expand All @@ -105,14 +105,14 @@ packages:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.1.1"
code_builder:
dependency: transitive
description:
name: code_builder
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.0"
version: "4.2.0"
collection:
dependency: transitive
description:
Expand Down Expand Up @@ -175,7 +175,7 @@ packages:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.1.0"
graphs:
dependency: transitive
description:
Expand All @@ -189,7 +189,7 @@ packages:
name: hive
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.2"
version: "2.2.3"
hive_generator:
dependency: "direct dev"
description:
Expand All @@ -210,7 +210,7 @@ packages:
name: http_multi_server
url: "https://pub.dartlang.org"
source: hosted
version: "3.2.0"
version: "3.2.1"
http_parser:
dependency: transitive
description:
Expand Down Expand Up @@ -245,7 +245,7 @@ packages:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.5.0"
version: "4.6.0"
lints:
dependency: "direct dev"
description:
Expand All @@ -266,7 +266,7 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
version: "0.12.12"
meta:
dependency: transitive
description:
Expand All @@ -287,7 +287,7 @@ packages:
name: package_config
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.2"
version: "2.1.0"
path:
dependency: "direct main"
description:
Expand All @@ -301,7 +301,7 @@ packages:
name: pool
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.0"
version: "1.5.1"
pub_semver:
dependency: transitive
description:
Expand All @@ -322,14 +322,14 @@ packages:
name: shelf
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.3.2"
shelf_web_socket:
dependency: transitive
description:
name: shelf_web_socket
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
version: "1.0.2"
source_gen:
dependency: transitive
description:
Expand All @@ -350,7 +350,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.0"
version: "1.9.1"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -385,7 +385,7 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.2.1"
timing:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ environment:
# path: ^1.8.0

dev_dependencies:
build_runner: ^2.1.11
build_runner: ^2.2.0
hive_generator: ^1.1.3
lints: ^2.0.0
dependencies:
ansicolor: ^2.0.1
args: ^2.3.1
hive: ^2.2.2
hive: ^2.2.3
html: ^0.15.0
intl: ^0.17.0
path: ^1.8.2
Expand Down

0 comments on commit 8d11630

Please sign in to comment.