From 05a42c3ba6ef9530b02532069636745fec0efb64 Mon Sep 17 00:00:00 2001 From: The-EDev Date: Sat, 26 Oct 2024 02:41:30 +0300 Subject: [PATCH] Added homebrew icon and installation instructions --- docs/assets/pkg_logos/homebrew.svg | 1 + docs/getting_started/setup/macos.md | 13 +++++++++++++ docs/overrides/home.html | 10 +++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 docs/assets/pkg_logos/homebrew.svg diff --git a/docs/assets/pkg_logos/homebrew.svg b/docs/assets/pkg_logos/homebrew.svg new file mode 100644 index 000000000..a97735132 --- /dev/null +++ b/docs/assets/pkg_logos/homebrew.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/getting_started/setup/macos.md b/docs/getting_started/setup/macos.md index b06536aa2..1dedc31e9 100644 --- a/docs/getting_started/setup/macos.md +++ b/docs/getting_started/setup/macos.md @@ -1,5 +1,10 @@ Here's how you can install Crow on your Mac. ## Getting Crow + +### From Homebrew +1. Download and install [Homebrew](https://brew.sh). +2. Run `brew install crow` in your terminal. + ### From a [release](https://github.com/CrowCpp/Crow/releases) #### Archive Crow provides an archive containing the framework and CMake files, You will only need the `include` folder inside that archive. @@ -22,6 +27,10 @@ This will generate a `crow_all.h` file which you can use in the following steps ## Setting up your Crow project +!!! note + + You can skip steps 1 and 2 if you've installed Crow via Homebrew + ### Using XCode 1. Download and install [Homebrew](https://brew.sh). 2. Run `brew install asio` in your terminal. @@ -51,6 +60,10 @@ This will generate a `crow_all.h` file which you can use in the following steps This tutorial can be used for Crow projects built with CMake as well +!!! note + + You can skip steps 1 and 2 if you've installed Crow via Homebrew + 1. Download and install [Homebrew](https://brew.sh). 2. Run `brew install cmake asio` in your terminal. 3. Get Crow's source code (the entire source code). diff --git a/docs/overrides/home.html b/docs/overrides/home.html index d637288fe..b58b8b7ec 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -268,7 +268,15 @@

Crow is everywhere, you just need to grab it!

VCPKG

-

for Windows systems

+

for Windows based systems

+
+ + +