mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 22:27:14 +02:00
feat: Added mac setup
This commit is contained in:
@@ -17,7 +17,7 @@ Get the Android app on the [Google Play Store](https://play.google.com/store/app
|
|||||||
|
|
||||||
### Windows Environment Setup
|
### Windows Environment Setup
|
||||||
|
|
||||||
Required Software
|
Required Software:
|
||||||
|
|
||||||
* [Git](https://git-scm.com/downloads)
|
* [Git](https://git-scm.com/downloads)
|
||||||
* [Node.js](https://nodejs.org/en/)
|
* [Node.js](https://nodejs.org/en/)
|
||||||
@@ -47,26 +47,44 @@ Your Windows environment should now be set up and ready to proceed!
|
|||||||
|
|
||||||
### Mac Environment Setup
|
### Mac Environment Setup
|
||||||
|
|
||||||
|
Required Software:
|
||||||
|
|
||||||
|
* [Android Studio](https://developer.android.com/studio)
|
||||||
|
* [Node.js](https://nodejs.org/en/)
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Install the applications with <a href=(https://brew.sh/)>homebrew</a></summary>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
brew install android-studio node
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
### Start working on the project
|
### Start working on the project
|
||||||
|
|
||||||
|
|
||||||
Clone or fork the project from cmd or powershell and `cd` into the project directory.
|
Clone or fork the project from cmd or powershell and `cd` into the project directory.
|
||||||
|
|
||||||
Install the required node packages:
|
Install the required node packages:
|
||||||
```
|
```shell
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Expand for screenshot</summary>
|
<summary>Expand for screenshot</summary>
|
||||||
|
|
||||||

|

|
||||||
</details>
|
</details>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
Generate static web app:
|
Generate static web app:
|
||||||
```
|
```shell
|
||||||
npm run generate
|
npm run generate
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Expand for screenshot</summary>
|
<summary>Expand for screenshot</summary>
|
||||||
|
|
||||||
@@ -75,9 +93,10 @@ npm run generate
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
Copy web app into native android/ios folders:
|
Copy web app into native android/ios folders:
|
||||||
```
|
```shell
|
||||||
npx cap sync
|
npx cap sync
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Expand for screenshot</summary>
|
<summary>Expand for screenshot</summary>
|
||||||
|
|
||||||
@@ -86,13 +105,16 @@ npx cap sync
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
Open Android Studio:
|
Open Android Studio:
|
||||||
```
|
|
||||||
|
```shell
|
||||||
npx cap open android
|
npx cap open android
|
||||||
```
|
```
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Expand for screenshot</summary>
|
<summary>Expand for screenshot</summary>
|
||||||
|
|
||||||

|

|
||||||
</details>
|
</details>
|
||||||
|
<br>
|
||||||
|
|
||||||
Start coding!
|
Start coding!
|
||||||
Reference in New Issue
Block a user