Skip to content

Commit

Permalink
Update installation & demo info (#22)
Browse files Browse the repository at this point in the history
* Update installation & demo info 

- Fix installation steps
- Add troubleshooting info
- Add demo details
  • Loading branch information
ajitbohra authored Mar 13, 2018
1 parent 3e35e2a commit 28c4a76
Showing 1 changed file with 42 additions and 18 deletions.
60 changes: 42 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,48 @@ Laravel based web application for gym & club management. Currently being used by
Improper permission on `storage` & `public` folder will lead to server & application errors

## Installation
1. Clone to your server root `git clone [email protected]:lubusIN/laravel-gymie.git`
2. Create .env in application root `touch .env`
3. Add your database details & optional sentry DNS
```
DB_HOST= [HOST]
DB_DATABASE=[DBHOST]
DB_USERNAME=[USERNAME]
DB_PASSWORD= [PASSWORD]
SENTRY_DSN= [SENTRYDNS]
```
5. Run `php artisan key:generate` to generate key
6. Run `composer install` to install all dependencies
7. Run `php artisan migrate --seed` to install the database & required data
8. All done! use the following credentials to log in
```
email: [email protected]
password: password
```
1. Clone to your server root `git clone [email protected]:lubusIN/laravel-gymie.git`
2. Run `composer install` to install all dependencies
3. Create .env in application root `touch .env`
4. Add your database details & optional sentry DNS
```
DB_HOST= [HOST]
DB_DATABASE=[DBHOST]
DB_USERNAME=[USERNAME]
DB_PASSWORD= [PASSWORD]
SENTRY_DSN= [SENTRYDNS]
```
5. Run `php artisan key:generate` to generate key
6. Run `php artisan migrate --seed` to install the database & required data
7. All done! use the following credentials to log in
```
email: [email protected]
password: password
```

## Troubleshooting

**APP_KEY not getting added to .env**
- Add APP_KEY to .env
- Copy generated key from terminal

**Permission / 500 Internal Server Error**

Change permission on storage & cache
```
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
```

## Live Demo

Test drive the application without going through the hassel of installation.

```
url: https://demo.lubus.in
email: [email protected]
password: password
```

## Changelog
Please see [CHANGELOG](https://github.com/spatie/laravel-medialibrary/blob/master/CHANGELOG.md) for more information what has changed recently.
Expand Down

0 comments on commit 28c4a76

Please sign in to comment.