Phone Finder for JUMIA
INSTALL IN THE LOCAL ENVIRONMENT
-
Clone this repository
-
Copy the .env from the .env.example
cp .env.example .env
-
Edit the .env file and set the database configuration as below, poiting the absolute path of the application:
DB_CONNECTION=sqlite
DB_DATABASE= [ABSOLUTE PATH HERE] /database/database.sqlite
-
Run the command
php artisan key:generate
-
Run the Composer
composer install
-
Start the laravel artisan webserver
php artisan serve --port=8081
-
Access the app at
INSTALL USING DOCKER
-
Clone this repository
-
Run the docker build to create the image (May take a while, just relax)
docker build -t jumia-phone .
-
Access the container and configure the .env
docker run -it jumia-phone bash
-
Run the container webserver
docker run -p 8000:8000 jumia-phone
-
Access the app at