Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-yang committed Apr 15, 2018
1 parent 297dc8e commit d61570e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
chmod 777 runtime
chmod 777 web/assets
chmod 777 web/uploads
chmod 777 polygon/data
```
3. 导入数据库信息
Expand All @@ -118,6 +119,12 @@
3. 将控制台切换到 `judge` 目录(即运行 `cd judge`命令),然后运行 `make` 命令
4. 运行 `sudo ./dispatcher` 命令
4. 配置配置多边形出题系统
1. 在 `polygon/config.ini` 文件中配置数据库信息
2. 将控制台切换到 `polygon` 目录(即运行 `cd polygon`命令),然后运行 `make` 命令
3. 运行 `sudo ./polygon` 命令
5. Web 端默认是开发者模式,如需部署到生产环境,请注释 `web/index.php` 文件的头两行代码
开发者支持
---------
Expand Down
2 changes: 1 addition & 1 deletion components/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ public function getData()
*/
public static function getVersion()
{
return '0.1.0';
return '0.2.0';
}
}
1 change: 0 additions & 1 deletion modules/admin/views/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
['label' => Yii::t('app', 'User'), 'url' => ['/admin/user/index']],
['label' => Yii::t('app', 'Contest'), 'url' => ['/admin/contest/index']],
['label' => Yii::t('app', 'Rejudge'), 'url' => ['/admin/rejudge/index']],
['label' => Yii::t('app', 'Setting'), 'url' => ['/admin/setting/index']],
],
]) ?>
</div>
Expand Down
Binary file removed web/uploads/20180324/15218459008167.jpeg
Binary file not shown.

0 comments on commit d61570e

Please sign in to comment.