Giter Site home page Giter Site logo

iwiotss-website's Introduction

使用方法

这是一个依托于 Flask 的项目,所以需要安装 Python 和 Flask 库。

安装 Python: https://www.python.org/downloads/

安装完 Python 后,请安装 pip: 在命令行中输入命令:

sudo apt install python3-pip #使用 apt 安装 pip

创建虚拟环境:

    python3 -m venv env #创建虚拟环境

激活虚拟环境:

    source env/bin/activate #激活虚拟环境

安装依赖:

    pip install -r requirements.txt #安装依赖

现在,就可以运行这个项目了:

    python3 app.py

当命令行中出现:

Press CTRL+C to quit 说明项目已经运行成功。

这时,就可以在浏览器中输入:http://127.0.0.1:5000/就能进入主页了。

退出虚拟环境:

    deactivate #退出虚拟环境

iwiotss-website's People

Contributors

karl757952 avatar gakusyun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.