Skip to content

HNU - Spatiotemporal Prediction System (National College Student Innovation Training Program 2023-2025 )

Notifications You must be signed in to change notification settings

wolfvoid/HNU-SPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HNU-SPS

HNU - Spatiotemporal Prediction System (National College Student Innovation Training Program 2023-2025 )

演示视频

https://www.bilibili.com/video/BV11HZvYZEb1/

开发环境

  • conda 24.11.3
  • node -v 22.11.0
  • npm -v 11.0.0
  • vue/cli 5.0.8
  • psql (PostgreSQL) 17.1
  • python 3.13.1

如何开始

后端环境配置

# if you use conda environment
conda create --name <env> python=3.12.9
conda activate <env>
pip install -r requirements.txt

# if you use pip environments
python -m venv <env>
# for Windows
<env>\Scripts\activate
# for macOS/Linux
source <env>/bin/activate
pip install -r requirements.txt

前端

cd frontend
npm run serve

后端

cd backend

# 修改config.py中的postgresql地址
# 对于本地的postgresql,按照格式:
#'postgresql://your_user:your_password@localhost/your_database'

python app.py

数据库

# 命令行或navicat启动postgresql

项目细节

前端技术栈:

  • Vue.js
  • Socket.IO (客户端)
  • ECharts

后端技术栈:

  • Flask
  • Flask-SocketIO
  • Python
  • Logging

About

HNU - Spatiotemporal Prediction System (National College Student Innovation Training Program 2023-2025 )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors