Code Monkey home page Code Monkey logo

booklibrary's Introduction

BookLibrary

一个基于Flask框架的简单图书管理系统

搭配环境

  • 输入 sudo apt-get install python-virtualenv 安装virtualenv虚拟机
  • 输入 sudo apt-get install sqlite3 安装sqlite3
  • 输入 sqlite3 book.db < book.sql 创建数据库
  • 在项目根目录下执行. venv/bin/activate, 开启虚拟机
  • 安装FLask模块 输入pip install Flask
  • 输入deactive, 关闭虚拟机
  • 在虚拟机开启情况下,输入python book.py,然后在浏览器中打开127.0.0.1:5000即可访问

导入数据

在项目根目录 输入sqlite3 book.db

  • 进入sqlite3 shell,输入.separator "," 后,再输入 .import books.txt books

booklibrary's People

Contributors

weicodev2017 avatar justuno avatar jerryleooo avatar

Watchers

James Cloos avatar  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.