oraxen/polymath
关于
A python server to host oraxen resource packs
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Polymath
Polymath is a web server designed to host resource packs of the Oraxen plugin.
How to use Polymath
Clone the project
git clone [email protected]:oraxen/Polymathorgit clone https://github.com/oraxen/Polymaththis fork:git clone [email protected]:oOHiyoriOo/polymath.gitorgit clone https://github.com/oOHiyoriOo/polymath.gitCd in the directory
cd ./Polymath
With nix package management
Install nix Follow this tutorial (you only need nix, not nixos): https://nixos.org/download.html On linux this is just this command:
sh <(curl -L https://nixos.org/nix/install) --daemonOn macos:sh <(curl -L https://nixos.org/nix/install)You can check the website to get it working on windows or docker.Install the required libs If you installed nix, just type:
nix-shell
Without nix package management (and Windows)
If you didn't install nix, you need to install Python 3.8 with those packages:
cython
aiohttp
toml
colorama
- Build polymath
./build.sh
Run a first time
sh ./runConfigure the file
polymath/config/settings.tomlRun a second time
sh ./runPolymath should now be running
How to use on Pterodactyl or Windows
Clone the project
git clone [email protected]:oraxen/Polymathorgit clone https://github.com/oraxen/PolymathInstall Python (tested on Python 3.12.3!)
install following requirements (use pip or requirements.txt):
pip install -r requirements.txtrun:
python run
Installing Requirements:
aiohttp>=3.7.4
toml>=0.10.2
cython
colorama
you must setup SSL for this to work!
if using nginx:
- setup a new vhost in /etc/nginx/sites-available/
- setup ssl (u can use certbot)
- change the location of the VHOST to something like:
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 10M;
}
i recommend using a subdomain like texture.example.xyz
- make sure port 443 is forwarded!
探索相关项目
加载中…