Skip to content

hahastudio/CodeCafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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://git@github.com: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 - 登录后,点击可手动刷新服务器信息。

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

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

Releases

No releases published

Packages

No packages published

Languages