Skip to content

Commit

Permalink
Merge pull request #1 from kovalevcon/fix/problem-with-installing
Browse files Browse the repository at this point in the history
fix(installing): update installing guide in README.md
  • Loading branch information
kovalevcon committed Dec 19, 2019
2 parents 4539c10 + 38cf5e5 commit 63e6087
Show file tree
Hide file tree
Showing 22 changed files with 2,612 additions and 581 deletions.
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,52 @@ Admin panel - Tournament matches:
```bash
cp .env.example .env
```

Need config MySQL connection in `.env` file and create `tournaments` database:
```sql
CREATE DATABASE `tournaments` COLLATE utf8_general_ci;
```

2. Install dependencies:

```bash
composer install
```
3. Install admin-panel:

3. Generate encryption key for Laravel:

```bash
php artisan key:generate
```

4. Publish assets and config for admin-panel:

```bash
php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
```

5. Install admin-panel:

```bash
php artisan admin:install
```
4. Refresh migrations (some problem with admin_menu inserting):

6. Refresh migrations (some problem with admin_menu inserting):

```bash
php artisan migrate:refresh --path=/database/migrations/2019_08_22_014400_create_playoff_admin_menu.php
```

5. **(Optional)** Complete seeds for example data (teams, matches, tournament, tournament matches):
7. **(Optional)** Complete seeds for example data (teams, matches, tournament, tournament matches):

```bash
php artisan db:seed
```

6. See main page on `http://localhost/`.
8. See main page on `http://localhost/`.

9. See admin panel on `http://localhost/admin`.

7. See admin panel on `http://localhost/admin`.
Login: `admin`, Password: `admin`.

Thanks `Joe Beason` for design ([link](https://codepen.io/jbeason/full/Wbaedb/)).
Expand Down
Loading

0 comments on commit 63e6087

Please sign in to comment.