https://github.com/ustclug/adrain
Admission Rain
https://github.com/ustclug/adrain
Last synced: 11 months ago
JSON representation
Admission Rain
- Host: GitHub
- URL: https://github.com/ustclug/adrain
- Owner: ustclug
- Created: 2017-01-28T15:44:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T07:09:18.000Z (over 4 years ago)
- Last Synced: 2023-08-31T09:06:47.246Z (almost 3 years ago)
- Language: PHP
- Homepage: https://adrain.ustclug.org
- Size: 688 KB
- Stars: 5
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# adrain
Admission Rain is the platform for USTC undergraduates and graduates students
to report their admissions and rejections notices from graduate schools.
The admission rain is maintained by LUG@USTC in the website adrain.ustclug.org
The author of the system is Tianyi Cui and Weikeng Chen.
The system does not save the personal identity information.
## local deploy/testing instructions
```bash
# change directory to repo root
cd adrain
# create docker network for server containers
docker network create adrain
# initiate these three docker containers
docker run --name adrain-db -e MYSQL_ROOT_PASSWORD=your_root_password -v db:/var/lib/mysql -d --network=adrain --restart=always mysql:8.0 --default-authentication-plugin=mysql_native_password
docker run --name adrain-php --network=adrain -v `pwd`/src:/srv/www/ -v `pwd`/src/private:/srv/priv/ --restart=always -d local/php:7-fpm-mysqli
docker run --name adrain-web --network=adrain -v `pwd`/src:/srv/www/ -v `pwd`/conf/etc/nginx:/etc/nginx -p 5006:80 --restart=always -d nginx
```
`local/php:7-fpm-mysqli` is built with following Dockerfile:
```Dockerfile
FROM php:7-fpm
RUN docker-php-ext-install mysqli
```