Skip to content

Commit

Permalink
Improve Advanced-Installation-for-Macos.md
Browse files Browse the repository at this point in the history
  • Loading branch information
naughtyJun committed Feb 28, 2023
1 parent 6d81ce6 commit 0773a7d
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions Advanced-Installation-for-Macos.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Article under construction. Please check back later.
This guide is aimed at advanced users who want to install and run the CapsuleFarmerEvolved on Macos.
Please note that this guide is not complete and just test on apple Chip, so may not work for you computer.
For any issues that you may encounter, please open an issue on GitHub. If you are able to fix the issue yourself, please open a pull request instead!

## Prerequisites
- Python ≥ 3.10.1 (version 3.9 should work as well but is not officially supported)[download](https://www.python.org/downloads)
- pip (`curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py`, `then export the pip to PATH`)
- pipenv (`pip install pipenv`)
- If you are in chinese Mainland Then Use (`pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv`)
- git

## Running from the source code
1. Clone the application from GitHub - `git clone https://github.com/LeagueOfPoro/CapsuleFarmerEvolved.git`
2. Move to the directory - `cd CapsuleFarmerEvolved`
3. Install the Python virtual environment - `pipenv install python3`
4. Edit the configuration as the [configuration](https://github.com/LeagueOfPoro/CapsuleFarmerEvolved/wiki/Configuration) page describes
5. Run the tool with `pipenv run python3 ./src/main.py`

## Updating
Enter the directory where you cloned the application initially and run `git pull` to update the application.

If you receive `Exception has occurred: ModuleNotFoundError`, run `pipenv install` to update dependencies.

Consider contributing to the wiki by submitting a PR.

0 comments on commit 0773a7d

Please sign in to comment.