GithubHelp home page GithubHelp logo

willwin4sure / otis-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from venhance/otis-web

0.0 0.0 0.0 2.43 MB

OTIS course management system

Home Page: https://web.evanchen.cc/otis.html

License: MIT License

Python 68.62% HTML 15.08% TeX 0.49% CSS 4.35% JavaScript 9.36% Shell 0.70% Jinja 1.40%

otis-web's Introduction

OTIS-WEB status

OTIS-WEB

These are the source files for the internal website that I use to teach my course OTIS. It is pretty standard Django, so you should be able to spin up a local server on a standard Unix environment.

Installation instructions

Standard Unix environment

  1. Fork the repository first if you're planning on submitting a pull request later.
  2. Install the following standard tools: python (version 3.9), pip, gcc, git. (For each tool, search "[name of thing to install] [your OS]" on the web.)
  3. Clone this repository: git clone https://github.com/USERNAME/otis-web. Replace USERNAME with your username if you're forking; otherwise, replace with vEnhance.
  4. You probably want to create a new virtual environment to avoid polluting your system with all the dependencies. If you've used conda or virtualenv or similar before, you know the drill. Otherwise, read through the steps here to create a wrapper for OTIS-WEB.
  5. If things are working, you should be able to run in the virtual environment and then run pip install poetry. This enables you to use the poetry command; verify this by checking poetry --help produces a help message.
  6. Once you have poetry, hit poetry install. This will install a lot of Python into your virtual environment.
  7. If everything is working, python manage.py check should run with no errors.
  8. Run python manage.py migrate to create the local database.
  9. Run python manage.py createsuperuser to create an admin user.
  10. Run python manage.py runserver. The command will spin up a continuously running server.
  11. Point your browser to http://127.0.0.1:8000. You should be able to log in with the user you defined in step 7.
  12. The website is functional now, but it is a bit bare-bones. To populate it with some test data, you can optionally run the command python manage.py loaddata otisweb/fixtures/testdata.yaml.

Feature requests or bug reports

Submit an issue on GitHub.

Pull requests

For OTIS students: pull requests welcome! If you think the website can be improved in some way, feel free to implement it. See contributing guidelines.

526561645265616452656164

otis-web's People

Contributors

venhance avatar amoler avatar dependabot[bot] avatar adamisntdead avatar tenthmascot 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.