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.
Go to 4) if you are updating already deployed one.
Install certbot and get letsencrypt certbot.
Write proxy server setting in the host. (SSL, proxypass to the port binded on the docker service "web")
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
serveruser:/root/of/project $ docker-compose up -d --build
Available at https://student.kaist.ac.kr/
See https://hangpark.github.io/kaistusc/ (Korean)
or https://student.kaist.ac.kr/docs/ (Korean)