GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mol310/code: Douban CODE

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

78 Commits
78 Commits

Folders and files

NameName
Last commit message
Last commit date
dispatches
dispatches
 
 
hub
hub
 
 
scripts
scripts
 
 
tests
tests
 
 
tools
tools
 
 
vilya
vilya
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AUTHORS
AUTHORS
 
 
Dockerfile
Dockerfile
 
 
Gruntfile.js
Gruntfile.js
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
Vagrantfile
Vagrantfile
 
 
app.py
app.py
 
 
app_sina.py
app_sina.py
 
 
celeryconfig.py
celeryconfig.py
 
 
code_config.yaml
code_config.yaml
 
 
favicon.ico
favicon.ico
 
 
package.json
package.json
 
 
requirements.txt
requirements.txt
 
 
setup_databases.sh
setup_databases.sh
 
 
tasks.py
tasks.py
 
 
web.py
web.py
 
 
webpack.config.js
webpack.config.js
 
 
wsgi.py
wsgi.py
 
 

Repository files navigation

Build Status

Douban CODE

  • Website: http://douban-code.github.io
  • Guide: http://douban-code.github.io/pages/getting-started.html

Dependency

  • libmc https://github.com/douban/libmc
  • Python 2.7+
  • pip >= 1.4.1

Docker Installation

You can use code

$docker pull dongweiming/code

or just build locally(recommended):

$cd code
$docker build -t code .

And launch a bash shell inside the container:

$docker run -d -p 8080:8000 code gunicorn -w 2 -b 0.0.0.0:8000 app:app  # start app
5cf0d1f6a421c53d54662df77dd142978d24b8c76fd72ce1c106506458e1304a
$boot2docker ip
192.168.59.103
# go web http://192.168.59.103:8080
$docker run -t -i code /bin/bash

Vagrant Installation

$cd code
vagrant up

Quick Installation

Currently supports the following systems:

  • gentoo
  • ubuntu/debian
  • centos/redhat/fedora
  • opensuse
  • archlinux

You only to excute:

bash <(curl -s https://raw.githubusercontent.com/douban/code/master/scripts/install_code.sh)

Notes: The install script in code/scripts subdirectory, for example ubuntu/debian, You can see code/scripts/ubuntu.sh

FAQ

  1. single http daemon
  • gunicorn -b 127.0.0.1:8001 app:app # git http daemon
  1. vilya.config.DOMAIN
  • if you run 'gunicorn -b IP:PORT app:app', the DOMAIN should be 'http://IP:PORT/'

License

CODE is under Revised BSD License. See the LICENSE file for the full license text.

About

Douban CODE

douban-code.github.io

Resources

Readme
License
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.