https://github.com/plus-postech/study.plus.or.kr
Study hard to become a good hacker
https://github.com/plus-postech/study.plus.or.kr
Last synced: 3 months ago
JSON representation
Study hard to become a good hacker
- Host: GitHub
- URL: https://github.com/plus-postech/study.plus.or.kr
- Owner: PLUS-POSTECH
- License: apache-2.0
- Created: 2017-06-18T07:52:33.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T18:13:44.000Z (over 1 year ago)
- Last Synced: 2025-04-13T05:06:58.932Z (3 months ago)
- Language: Python
- Size: 2.17 MB
- Stars: 5
- Watchers: 6
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# study.plus.or.kr
This repository contains the source code of the [https://study.plus.or.kr](https://study.plus.or.kr) website.## Wiki
For more information, please visit https://github.com/PLUS-POSTECH/study.plus.or.kr/wiki## Dev Installation
```
$ git clone https://github.com/PLUS-POSTECH/study.plus.or.kr.git
$ mv study.plus.or.kr dev.study.plus.or.kr
$ cd dev.study.plus.or.kr
$ cp docker-compose.override.dev.yml docker-compose.override.yml
$ `your_favorite_editor` docker-compose.override.yml # set your django secret key
$ docker-compose up -d
```## Production Installation
```
$ git clone https://github.com/PLUS-POSTECH/study.plus.or.kr.git
$ mkdir static
$ cd study.plus.or.kr
$ cp docker-compose.override.production.yml docker-compose.override.yml
$ `your_favorite_editor` docker-compose.override.yml # set your secret key and hosts
$ docker-compose up -d
```The server is running at `localhost:8000`. Use nginx or other proxy to your server.
You need to set 'PASSWORD' in `src/plus_study/settings.py` as your postgres db password## Production Installation (reverse proxy)
```
$ git clone https://github.com/PLUS-POSTECH/study.plus.or.kr.git
$ mkdir static
$ cd study.plus.or.kr
$ cp docker-compose.override.production.reverse-proxy.yml docker-compose.override.yml
$ `your_favorite_editor` docker-compose.override.yml # set your secret key and hosts
$ docker-compose up -d
````docker-compose.override.production.reverse-proxy.yml` is an example configuration for reverse proxy.
You need to set 'PASSWORD' in `src/plus_study/settings.py` as your postgres db password## Update
```
$ docker-compose up -d --no-deps --build web
```## Creating Super User
```
$ docker-compose exec web python manage.py createsuperuser
```