A simple server to access the fucking educational administration system of Jiangxi University of Finance and Economics
Report Bug
·
PR
In order to improve the poor course selection experience, I wrote this program. At first, this project was used as a simple course schedule crawling project, but I was very angry that I did not grab the course selection for the first semester of 2023-2024, so this project was born Got it
- login page
- reverse proxy
- static resource cache
- dynamic resource cache
Before installing and running JXUFE-PCH, please ensure your system meets the following requirements:
- Windows: Windows 10 or later.
- macOS: macOS 10.15 (Catalina) or later.
- Linux: Most modern distributions like Ubuntu 20.04, Fedora 33, Debian 10, etc.
- CPU: 512MHz or faster processor. (Use precompiled programs)
- RAM: 100MB or more. (Use precompiled programs)
- Storage: Minimum 60MB free space. (Use precompiled programs)
- Rust: Version 1.75.0 or later.
- Git: Latest version.
- Stable internet connection for downloading dependencies and updates.
- When not using a precompiled program there may be a situation where it doesn't work on another machine (due to openssl)
- Ensure all system drivers, especially graphics and network drivers, are up to date.
- download the latest release from here
- download the static resource
- configure the config.json(rename from config.example.json to config.json)
see Installation
- Download the latest release from here
- Replace the old program with the new one
- Restart the program
- Pull the latest code from the repository
- Compile the code
- Replace the old program with the new one
- Restart the program
see Installation
see Usage
press Ctrl+C in the terminal
delete the program
- Check if the program is running
- Check if the port is occupied
- Check if the configuration is correct
- Check if the static resource is downloaded correctly
-
Install Rust:
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
-
Clone the Repository
git clone https://github.com/pchpub/jxufe-pch.git
-
Compile the Code
cd jxufe-pch cargo build --profile==fast -
Configure
mv config.example.json config.json vim config.json
-
Run the Server
cargo run --profile==fast
Open your browser and navigate to http://[your-ip-address]:[port-in-config.json]
PCH
This project is licensed under the GNU General Public License v3.0.