Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
/ kaistusc Public archive

KAIST Undergraduate Student Council Website on Django

License

Notifications You must be signed in to change notification settings

hangpark/kaistusc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

29de146 · Jan 20, 2019
Jan 20, 2019
Feb 6, 2018
Apr 10, 2018
Jan 30, 2017
Feb 24, 2017
May 1, 2018
Jan 19, 2019
Apr 9, 2018
Jan 19, 2019
Apr 9, 2018
Feb 27, 2017
Apr 10, 2018
Feb 20, 2018
Apr 29, 2018
Apr 9, 2018
Mar 18, 2018
Jan 9, 2017
Apr 9, 2018
Apr 29, 2018
Mar 18, 2018
Mar 18, 2018
Feb 16, 2018
Jan 9, 2017

Repository files navigation

KAIST USC: KAIST Undergraduate Student Council Website on Django

Welcome to KAIST USC!

KAIST USC is the open source project to construct KAIST Undergraduate Student Council Website on Django to make memebers participate in USC well. This project includes front-ent and back-end sources with a production enviornment settings by using Docker.

Deploy

Go to 4) if you are updating already deployed one.

  1. Install certbot and get letsencrypt certbot.

  2. Write proxy server setting in the host. (SSL, proxypass to the port binded on the docker service "web")

  3. Go to project root and write .env file as follows:

    MYSQL_USER=username

    MYSQL_PASSWORD=password

    MYSQL_DATABASE=database

    MYSQL_RANDOM_ROOT_PASSWORD=yes

    PORTAL_ADMIN_ID=portal_id

    PORTAL_ADMIN_PW=portal_password

    PORTAL_PUBLIC_KEY=portal_public_key

    CERT_PATH=/path/to/letsencrypt/cert

  4. serveruser:/root/of/project $ docker-compose up -d --build

Website

Available at https://student.kaist.ac.kr/

Documentation

See https://hangpark.github.io/kaistusc/ (Korean)

or https://student.kaist.ac.kr/docs/ (Korean)