Browse Source

Update installation steps on README.md

Some user cannot clone the project repo using
ssh, so we provide the https version to copy
pull/3/head
Nafies Luthfi 7 years ago
parent
commit
e7ea5e0c95
  1. 11
      README.md

11
README.md

@ -12,12 +12,17 @@ In this project, we have an Outlet Management (CRUD) with localtion/coordinate p
Follow this instructions to install the project: Follow this instructions to install the project:
1. Clone this repo. `$ git clone git@github.com:nafiesl/laravel-leaflet-example.git`
1. Clone this repo.
```bash
$ git clone git@github.com:nafiesl/laravel-leaflet-example.git
# or
$ git clone https://github.com/nafiesl/laravel-leaflet-example.git
```
2. `$ cd laravel-leaflet-example` 2. `$ cd laravel-leaflet-example`
3. `$ composer install` 3. `$ composer install`
4. `$ cp .env.example .env` 4. `$ cp .env.example .env`
5. Set **database config** on `.env` file
6. `$ php artisan key:generate`
5. `$ php artisan key:generate`
6. Set **database config** on `.env` file
7. `$ php artisan migrate` 7. `$ php artisan migrate`
8. `$ php artisan serve` 8. `$ php artisan serve`
10. Open `https://localhost:8000` with browser. 10. Open `https://localhost:8000` with browser.

Loading…
Cancel
Save