updated readme

This commit is contained in:
Jack Goh
2018-07-18 10:46:57 +08:00
parent ec537c729b
commit c221d786f9
+15 -3
View File
@@ -13,13 +13,25 @@
- HTML, CSS, Jquery
- Authentication with JWT
## Installation
## Installation (For Windows)
- Download and install [Laragon](https://laragon.org/download/)
- `cd` to your local dev server htdocs or www folder
- `git clone git@gitlab.com:CIEFWorldwideSdnBhd/izyim-api.git`
- create a new database for your app and name it whatever you like.
- Copy `.env-example` to `.env`
- Edit `.env` and set your database connection details
- Run `composer install`
- Run `php artisan migrate`
- Run`php artisan db:seed`
- Run `php artisan serve`
- Navigate to `http://localhost:8000` it should show the UI
## Installation (For Linux or OSX)
- Install [Git](https://git-scm.com) , [Docker CE](https://docs.docker.com/) and [Docker compose](https://docs.docker.com/compose/install/), [Node](https://nodejs.org/en/download/)
- `git clone git@gitlab.com:CIEFWorldwideSdnBhd/izyim-api.git`
- Copy `.env-example` to `.env`
- Edit `.env` and set your database connection details
## Usage
- Run `docker-compose up`
#### Test Credentials