-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds ChromeOS, Linux GS pages plus all 2nd level add-ons to getting started. Fixes #10255 Fixes #10186 Fixes #10188 Fixes #10191 ---- ## Adds the following pages: ### ChromeOS install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/chromeos/ - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/chromeos/android/ - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/chromeos/web/ ### Linux Install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/linux/ - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/linux/desktop - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/linux/android - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/get-started/install/linux/web ### Add Linux desktop to Linux Android or Web install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/linux/install-linux/ - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/linux/install-linux/install-linux-from-android - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/linux/install-linux/install-linux-from-web ### Add Android to Linux Desktop install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/android/install-android/install-android-from-linux - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/android/install-android/install-android-from-web-on-linux ### Add Android to ChromeOS Web install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/android/install-android/install-android-from-web-on-chromeos ### Add Web to Linux Desktop install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/web/install-web/install-web-from-linux-desktop - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/web/install-web/install-web-from-android-on-linux ### Add Web to ChromeOS Android install - https://flutter-docs-prod--pr10302-fix-10255-q3e2r9ic.web.app/platform-integration/web/install-web/install-web-from-android-on-chromeos ---- ## Refactors - Flutter file replacement into command lines on all install pages - Flutter doctor results for all combinations --------- Co-authored-by: Brett Morgan <[email protected]>
- Loading branch information
1 parent
77379e6
commit 1d17244
Showing
81 changed files
with
1,619 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
- name: bash | ||
set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.bash_profile | ||
- name: zsh | ||
set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.zshenv | ||
- name: fish | ||
set-path: fish_add_path -g -p $HOME/development/flutter/bin | ||
- name: csh | ||
set-path: echo 'setenv PATH "$HOME/development/flutter/bin:$PATH"' >> ~/.cshrc | ||
- name: tsch | ||
set-path: echo 'setenv PATH "$HOME/development/flutter/bin:$PATH"' >> ~/.tcshrc | ||
- name: ksh | ||
set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.profile | ||
- name: sh | ||
set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/_includes/docs/install/accordions/install-chrome-from-cli.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
<details markdown="1"> | ||
<summary><b>How to install Chrome from the command line</b></summary> | ||
|
||
```terminal | ||
$ wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O /tmp/google.pub | ||
$ gpg --no-default-keyring \ | ||
--keyring /etc/apt/keyrings/google-chrome.gpg \ | ||
--import /tmp/google.pub | ||
$ echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list | ||
$ sudo apt-get update -y; sudo apt-get install -y google-chrome-stable | ||
``` | ||
|
||
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,64 @@ | ||
{% assign doctor = site.data.doctor %} | ||
{% assign config = site.data.doctor[include.config] %} | ||
{% case include.devos %} | ||
{% when 'macOS' %} | ||
{% assign displayos = 'macOS 14.4.0 23E214 darwin-arm64' %} | ||
{% when 'Windows' %} | ||
{% assign displayos = 'Microsoft Windows 11 [Version 10.0.22621.3155]' %} | ||
{% when 'Linux' %} | ||
{% assign displayos = 'Ubuntu 20.04 (LTS)' %} | ||
{% endcase %} | ||
|
||
{% comment %} | ||
Don't change the whitespace control dashes in this list. | ||
It took about two hours to get exactly right. @atsansone | ||
{% endcomment %} | ||
|
||
```terminal | ||
Running flutter doctor... | ||
Doctor summary (to see all details, run flutter doctor -v): | ||
[✓] Flutter (Channel stable, {{site.appnow.flutter}}, on {{os}} A.B chipset, locale en) | ||
[✓] Flutter (Channel stable, {{site.appnow.flutter}}, on {{displayos}}, locale en) | ||
{%- if config.windows == 'Y' %} | ||
[✓] Windows version (Installed version of Windows is version 10 or higher) | ||
{%- endif %} | ||
{% case config.android-toolchain %} | ||
{%- when 'Y' %}[✓] Android toolchain - develop for Android devices (Android SDK version {{site.appnow.android_sdk}}) | ||
{%- when 'N' %}[!] Android toolchain - develop for Android devices | ||
{%- endcase %} | ||
{% case config.chrome %} | ||
{%- when 'Y' %}[✓] Chrome - develop for the web | ||
{%- when 'N' %}[!] Chrome - develop for the web | ||
{%- endcase %} | ||
{% when 'Y' %}[✓] Android toolchain - develop for Android devices (Android SDK version {{site.appnow.android_sdk}}) | ||
{% when 'N' %}[!] Android toolchain - develop for Android devices | ||
{% endcase %} | ||
{%- case config.chrome %} | ||
{% when 'Y' %}[✓] Chrome - develop for the web | ||
{% when 'N' %}[!] Chrome - develop for the web | ||
{% endcase -%} | ||
{% unless config.xcode == 'X' -%} | ||
{% case config.xcode %} | ||
{%- when 'Y' %}[✓] Xcode - develop for iOS and macOS (Xcode {{site.appnow.xcode}}) | ||
{%- when 'N' %}[!] Xcode - develop for iOS and macOS (Xcode not installed) | ||
{%- endcase -%} | ||
{% when 'Y' %}[✓] Xcode - develop for iOS and macOS (Xcode {{site.appnow.xcode}}) | ||
{% when 'N' %}[!] Xcode - develop for iOS and macOS (Xcode not installed) | ||
{% endcase %} | ||
{%- endunless -%} | ||
{% unless config.visual-studio == 'X' -%} | ||
{% case config.visual-studio %} | ||
{%- when 'Y' %}[✓] Visual Studio - develop Windows apps (version 2022) | ||
{%- when 'N' %}[!] Visual Studio - develop Windows apps | ||
{%- endcase %} | ||
{% case config.android-studio %} | ||
{%- when 'Y' %}[✓] Android Studio (version {{site.appnow.android_studio}}) | ||
{%- when 'N' %}[!] Android Studio (not installed) | ||
{%- endcase %} | ||
{% when 'Y' %}[✓] Visual Studio - develop Windows apps (version 2022) | ||
{% when 'N' %}[!] Visual Studio - develop Windows apps | ||
{% endcase %} | ||
{%- endunless %} | ||
{%- case config.android-studio %} | ||
{% when 'Y' %}[✓] Android Studio (version {{site.appnow.android_studio}}) | ||
{% when 'N' %}[!] Android Studio (not installed) | ||
{% endcase -%} | ||
{% unless config.linux == 'X' -%} | ||
{% case config.linux %} | ||
{%- when 'Y' %}[✓] Linux toolchain - develop for Linux desktop | ||
{%- when 'N' %}[!] Linux toolchain - develop for Linux desktop | ||
{%- endcase -%} | ||
{% when 'Y' %}[✓] Linux toolchain - develop for Linux desktop | ||
{% when 'N' %}[!] Linux toolchain - develop for Linux desktop | ||
{% endcase %} | ||
{%- endunless -%} | ||
[✓] VS Code (version {{site.appnow.vscode}}) | ||
[✓] Connected device (1 available) | ||
[✓] Network resources | ||
{% unless config.errors == 0 %} | ||
! Doctor found issues in {{config.errors}} categories. | ||
{% else %} | ||
∙ No issues found! | ||
{% endunless -%} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.