|
@@ -13,24 +13,18 @@
|
|
$ git clone git@github.com:kuaifan/wookteam.git
|
|
$ git clone git@github.com:kuaifan/wookteam.git
|
|
// or you can use https
|
|
// or you can use https
|
|
$ git clone https://github.com/kuaifan/wookteam.git
|
|
$ git clone https://github.com/kuaifan/wookteam.git
|
|
-```
|
|
|
|
-
|
|
|
|
-#### Configure remotes
|
|
|
|
|
|
|
|
-```bash
|
|
|
|
|
|
+// configure remotes
|
|
$ cd wookteam
|
|
$ cd wookteam
|
|
$ git remote add origin git@github.com:kuaifan/wookteam.git
|
|
$ git remote add origin git@github.com:kuaifan/wookteam.git
|
|
-```
|
|
|
|
-
|
|
|
|
-#### Copy`.env`
|
|
|
|
|
|
|
|
-```bash
|
|
|
|
|
|
+// copy .env
|
|
$ cp .env.example .env
|
|
$ cp .env.example .env
|
|
```
|
|
```
|
|
|
|
|
|
#### Modify`.env`
|
|
#### Modify`.env`
|
|
|
|
|
|
-database、websocket
|
|
|
|
|
|
+> Database、WebSocket
|
|
|
|
|
|
```env
|
|
```env
|
|
DB_CONNECTION=mysql
|
|
DB_CONNECTION=mysql
|
|
@@ -59,7 +53,7 @@ $ npm install
|
|
$ npm run production
|
|
$ npm run production
|
|
```
|
|
```
|
|
|
|
|
|
-#### Run Laravels (websocket)
|
|
|
|
|
|
+#### Run Laravels (WebSocket)
|
|
|
|
|
|
```bash
|
|
```bash
|
|
$ php bin/laravels start
|
|
$ php bin/laravels start
|