Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liyingxuan/ont-monitor-server
ONT Node
https://github.com/liyingxuan/ont-monitor-server
Last synced: 19 days ago
JSON representation
ONT Node
- Host: GitHub
- URL: https://github.com/liyingxuan/ont-monitor-server
- Owner: liyingxuan
- Created: 2018-07-05T09:20:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T09:38:27.000Z (over 6 years ago)
- Last Synced: 2024-11-09T19:12:55.574Z (3 months ago)
- Language: PHP
- Size: 4.42 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ONT Monitor Server
#### 1. Language and framework
PHP >=7.0.0
Laravel v5.5.*
[laravel-admin v1.5.x-dev](http://laravel-admin.org/)#### 2. Install and run
[Deploy the server environment](http://www.jianshu.com/p/1f17a69f6dcf)Reboot server.
Go in project path :
```bash
$ cd [project path]
$ chmod -R 777 storage/$ composer install
$ npm install$ cp .env.example .env
$ php artisan key:generate
$ vim .env
# 配置数据库相关配置、APP_URL、MY_API_HTTP_HEAD$ php artisan migrate:install
$ php artisan migrate$ php artisan passport:install
# 将生成的两个CLIENT_Secret保存到.env中的PASSPORT_CLIENT_SECRET## 有的云服务器需要做这一步
$ vim /etc/selinux/config
# 找到:
SELINUX=enforcing;
# 改成
SELINUX=enabled;# 重启Linux服务器
```
!! If you have problems you need to roll back to rebuild the database:
!! 如果出现问题需要回滚重建数据库:
```bash
$ php artisan migrate:refresh
$ php artisan migrate# 删除./ont-sc-ide-project-ser/storage/oauth-private.key和oauth-public.key两个文件
$ php artisan passport:install
# 将生成的两个CLIENT_Secret保存到.env中
```