Code Monkey home page Code Monkey logo

os-big-homework's Introduction

操作系统课设

概述

操作系统课设,但是是个 java web 项目。。。

前端用 react 实现,后端用的 springboot 。。。

启动

前后端分离

后端

直接 idea 里面跑就行,或者编译成 jar 然后跑

前端

因为是前后端分离,所以需要配置下 后端的 url :

frontend/src/pages/users/service.ts:9
9: const baseUrl = 'http://192.168.50.16:8883/';
// 表示后端跑在 192.168.50.16 的 8883 端口

然后安装依赖:

yarn

然后运行:

yarn start run

前后端集成

先编译下前端:

yarn start build

然后生成 dist/index.htmldist/umi.cssdist/umi.js 三个文件,放到 后端项目的 src/main/resources/static 下面

然后直接 idea 里面 run 就行

成果展示

可以建目录、建文件、写文件、删文件、读文件

并实时展示模拟的磁盘和内存的使用情况

image-20211225165222432

os-big-homework's People

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.