Code Monkey home page Code Monkey logo

codecafe's Introduction

#CodeCafe

Let's enjoy coding in a cafe!

该项目是ColdCafe团队为课程CS362(软件工程实践)而做的课程设计。这是一个纯 Python 项目,我们使用了 PyQt4 作为图形库。

该项目允许小型开发团队的成员进行线上交流、发布信息和提交代码。

项目地址: https://github.com/hahastudio/CodeCafe

##Authors

ColdCafe Team:

##Binary downloads and sources

Git Address

支持三种访问协议:

  • HTTP协议: https://github.com/hahastudio/CodeCafe.git
  • Git协议: git://github.com/hahastudio/CodeCafe.git
  • SSH协议: ssh://[email protected]:hahastudio/CodeCafe.git

How to clone our git

操作示例:

$ git clone git://github.com/hahastudio/CodeCafe.git

##Deploy Message Server & File Server

如果您希望部署在一个长期运行的服务器上,我们建议您在服务器上安装 Python 2.6 ,并对服务器脚本进行适当修改后部署。如果您使用Windows,只是想耍一耍这个小程序,或者您的机器上并没有 Python 2.6 的环境,您可以下载Windows对应的编译版本。但无论如何,请您读完下面两段。

在Message Server部署前,您需要先修改userdatainit.py,以添加、删除可以登录服务器的用户帐户。我们默认提供了一个用户名为test、密码亦为test的非管理员测试账户,请注意。修改后,请执行一次userdatainit.py

如果您修改了服务器的端口,请同时修改Client.py的端口信息。如有需要,请重新编译。

##Compile with py2exe

请先确保您安装了Python2.6,Py2exe

编译MessageServer.py:请先转至MessageServer.py所在的目录,之后执行:

> python setup-ms.py py2exe

编译FileServer.py:请先转至FileServer.py所在的目录,之后执行:

> python setup-fs.py py2exe

需要PyQt4

编译Client.py:请先转折Client.py所在的目录,之后执行:

> python setup-client.py py2exe

##Client at first glance

###菜单各功能简述

  • User
    • Login - 用于登录。
    • Logout - 用于登出。
  • Project
    • Set Path - 设置项目目录,文件匹配模式。
    • Set IP - 设置服务器地址。
    • Refresh - 登录后,点击可手动刷新服务器信息。

###连接服务器之前你应该做的

  • 设置服务器地址
  • 设置项目目录(可选,如果你需要上传或下载文件),设置之后您需要重新打开软件。
  • 打开登录窗口,输入用户名和密码 :)

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.