mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
updated readme
This commit is contained in:
@@ -13,13 +13,25 @@
|
|||||||
- HTML, CSS, Jquery
|
- HTML, CSS, Jquery
|
||||||
- Authentication with JWT
|
- 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`
|
- `git clone git@gitlab.com:CIEFWorldwideSdnBhd/izyim-api.git`
|
||||||
- Copy `.env-example` to `.env`
|
- Copy `.env-example` to `.env`
|
||||||
- Edit `.env` and set your database connection details
|
- Edit `.env` and set your database connection details
|
||||||
|
|
||||||
## Usage
|
|
||||||
- Run `docker-compose up`
|
- Run `docker-compose up`
|
||||||
|
|
||||||
#### Test Credentials
|
#### Test Credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user