GithubHelp home page GithubHelp logo

sirithink / beeweb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beego/beeweb

0.0 2.0 0.0 847 KB

An open source project for official documentation website of beego app framework.

Home Page: http://beego.me

beeweb's Introduction

Beego Web

An open source project for official documentation website of beego app framework.

Install site locally

Beego Web is a go get able project:

$ go get github.com/beego/beeweb

Switch to project root path:

$ cd $GOPATH/src/github.com/beego/beeweb

Build and run with Go tools:

$ go build
$ ./beeweb

Or build with bee tool:

$ bee run beeweb

Open your browser and visit http://localhost:8090.

Build as your site

This project can be easily transferred as your own documentation site, there are some tips that you may want to know:

  • In the file conf/app.conf:

    • langs: languages that you want to support
    • langNames: user-friendly name of languages.
    • navs: sections' name of documentation list.
    • samples: samples' name of sample page.
  • In the file conf/app.ini:

    • This file is ignored by rules of .gitignore due to it saves sensitive information; in this case, it saves Github app keys as following format:

        [github]
        client_id=1862bcb2******f36c
        client_secret=308d71ab53ccd858416cfceaed52******53c5f
      
    • It's not necessary to use it.

  • In the file conf/docTree.json:

    • This file saves the file tree(with file name and commit) of your project that is hosted in Github. About how to use documentation project please see beedoc. Note that if you added new section to documentation list and you do not want to wait auto-refresh, simple delete this file and restart.
    • To change the documentation project URL, you need to change it in function checkDocUpdates in file models/models.go.
  • When you added new section to documentation list in conf/app.conf, you also need to update list in template files(views/docs_<lang>.html, <lang> depends on the language you use).

License

Apache License, Version 2.0.

beeweb's People

Contributors

astaxie avatar miraclesu avatar slene avatar stevepereira avatar unknwon avatar

Watchers

 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.