Code Monkey home page Code Monkey logo

bpeecs.nchu.edu.tw's Introduction

bpeecs.nchu.edu.tw

國立中興大學電機資訊學院學士班 https://bpeecs.nchu.edu.tw/

Dependencies

  • Go 1.12

  • SQLite3

  • Front-end javascript

Files

  • beepcs.nchu.edu.tw/
    • .git/
    • assets/ (static files)
      • fonts/
      • img/
      • json/
      • js/
      • style/
      • upload/ (client's uploaded files)
    • config/
    • db/ (sqlite database)
      • calendar.db
      • calendar.db.sql (only schema)
      • main.db
      • main.db.sql (only schema)
    • handler/
      • basic.go (/*)
      • error.go (/error/* HTTP403 & 404)
      • api.go (/api/* for Ajax)
      • manage.go (/manage/*)
      • syllabus.go (/syllabus/*)
      • article.go
      • calendar.go
      • files.go (manage the uploaded files)
      • login.go
      • renderer.go
    • html/ (html files & gohtml layout files)
    • go.mod
    • go.sum
    • main.go (main program)

Quick start

  1. Create database from /db/*.sql
    • /db/calendar.db.sql
    • /db/main.db.sql
    cat calendar.db.sql | sqlite3 calendar.db
    cat main.db.sql | sqlite3 main.db
  2. run
    # build
    $ go build main.go
    
    # run at port 8086
    $ ./main 
    
    # run at port 443
    $ ./main -p 443 0
    
    # disable minify static files
    $ ./main --debug
  3. default user
    • id: root
    • password: 00000000

bpeecs.nchu.edu.tw's People

Contributors

dependabot[bot] avatar ksw2000 avatar xrelifen avatar

Stargazers

 avatar  avatar  avatar

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.