docs: install from gitea repo

This commit is contained in:
张泊明518370910136 2024-10-18 01:39:20 -04:00
parent 561597b814
commit 73ddb8084f
GPG Key ID: D47306D7062CDA9D

View File

@ -4,12 +4,13 @@
### For users ### For users
1. Install [Python>=3.6](https://www.python.org/) and [pip](https://pip.pypa.io/). 1. Install [Python>=3.6](https://www.python.org/) and [pip](https://pip.pypa.io/)
2. Install the project by `pip install .` 2. Install the project by `pip install git+ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/JOJ3-config-generator.git`
3. Run it by `joj3-config-generator --help` 3. Run it by `joj3-config-generator --help`
### For developers ### For developers
1. Install [Python>=3.6](https://www.python.org/) and [PDM](https://pdm-project.org/). 1. Clone this repo by `ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/JOJ3-config-generator.git`
2. Install deps by `pdm install && pdm run pre-commit install`. 2. Install [Python>=3.6](https://www.python.org/) and [PDM](https://pdm-project.org/)
3. Run the cli app by `pdm run app --help` 3. Install deps by `pdm install && pdm run pre-commit install`.
4. Run the cli app by `pdm run app --help`