# 西安交通大学数学建模官方网站
<http://mcm.xjtu.edu.cn>
## 说明
产品原型 <http://ssynh3.axshare.com>
## 主要功能
1. 赛事公告
2. 竞赛报名
3. 成员招募
## 部署
<https://laravel.com/docs/5.5/installation>
由于部分 Composer 包限制,需要 `php >= 7.2`,可以改用低版本的 Composer 包,最低达到 `php 7.0`
### 部署脚本
```bash
git clone https://github.com/eeyes-net/mcm-2017-11.git
cd mcm-2017-11/
composer install
php artisan migrate
php artisan vendor:publish
php artisan storage:link
php artisan install
npm install
npm run production
```
### 重置数据库
重置数据库将 DROP 全部表,并重新执行 Migrate
**请务必对数据库进行备份**
```bash
php artisan migrate:fresh
php artisan cache:clear
```
## 开发与测试
```bash
php artisan ide-helper:meta
php artisan ide-helper:generate
php artisan ide-helper:model
php artisan db:seed
npm run watch
```
### 临时使用 CKFinder
在 [CKFinder 官网](https://ckeditor.com/ckeditor-4/download/#ckfinder) 下载 [CKFinder 3 for PHP](https://download.cksource.com/CKFinder/CKFinder%20for%20PHP/3.4.2/ckfinder_php_3.4.2.zip)
然后解压到 `public/dist/ckfinder/`,解压之后修改配置文件 `public/dist/ckfinder/config.php`。
```php
// 验证函数
$config['authentication'] = function () {
session_start();
return (bool)$_SESSION['is_admin'];
};
// 文件存放目录
$config['backends'][] = array(
'baseUrl' => '/storage/',
);
```
临时使用 DEMO 版即可。
## LICENSE
[MIT License](https://opensource.org/licenses/MIT)
Copyright (c) 2017 eeyes.net
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
没有合适的资源?快使用搜索试试~ 我知道了~
西安交通大学数学建模官方网站.zip
共221个文件
php:132个
vue:37个
scss:15个
需积分: 1 0 下载量 151 浏览量
2024-01-03
20:04:13
上传
评论
收藏 569KB ZIP 举报
温馨提示
数学建模比赛题汇整理资料和一些思路,源码参考。
资源推荐
资源详情
资源评论
收起资源包目录
西安交通大学数学建模官方网站.zip (221个子文件)
artisan 2KB
.env.example 735B
.gitattributes 111B
.gitignore 332B
.gitignore 103B
.gitignore 23B
.gitignore 14B
.gitignore 14B
.gitignore 14B
.gitignore 14B
.gitignore 14B
.gitignore 14B
.gitignore 14B
.gitignore 13B
.gitignore 9B
.htaccess 597B
favicon.ico 0B
banner.jpg 289KB
admin.js 5KB
ckeditor-config.js 2KB
bootstrap.js 2KB
match.js 1KB
webpack.mix.js 1KB
recruit.js 1KB
post.js 819B
index.js 806B
home.js 772B
package-lock.json 477KB
composer.json 2KB
package.json 1KB
LICENSE 1KB
yarn.lock 215KB
composer.lock 199KB
README.md 2KB
MatchDataExport.php 12KB
app.php 9KB
session.php 7KB
validation.php 6KB
validation.php 6KB
AssignTeamNumber.php 6KB
OAuthLoginController.php 6KB
TeamController.php 6KB
Update.php 5KB
footer.blade.php 5KB
2018_11_19_004050_create_tables.php 5KB
api.php 5KB
Store.php 5KB
mail.php 4KB
RecruitController.php 4KB
database.php 4KB
index.blade.php 3KB
Update.php 3KB
Store.php 3KB
auth.php 3KB
GenerateSitemap.php 3KB
MatchController.php 3KB
User.php 3KB
header.blade.php 3KB
cache.php 3KB
queue.php 2KB
Kernel.php 2KB
index.blade.php 2KB
filesystems.php 2KB
Apply.php 2KB
Cancel.php 2KB
RouteServiceProvider.php 2KB
layout.blade.php 2KB
index.php 2KB
IndexController.php 2KB
LogVisit.php 2KB
MatchController.php 2KB
MatchSnapshotController.php 2KB
TeamsTableSeeder.php 2KB
app.php 2KB
web.php 2KB
CasLoginController.php 2KB
Match.php 2KB
broadcasting.php 1KB
default.blade.php 1KB
Team.php 1KB
ClearUnappliedTeamNumber.php 1KB
Verify.php 1KB
RemoveTeamWithoutUser.php 1KB
index.blade.php 1KB
Destroy.php 1KB
User.php 1KB
RecruitController.php 1KB
master.blade.php 1KB
Handler.php 1KB
Destroy.php 1KB
PostController.php 1KB
UserController.php 1KB
MatchController.php 1006B
view.php 1004B
services.php 980B
UserFactory.php 975B
master.blade.php 960B
master.blade.php 958B
EventServiceProvider.php 916B
UserController.php 855B
共 221 条
- 1
- 2
- 3
资源评论
白话Learning
- 粉丝: 3268
- 资源: 2464
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功