The laravel scaffolding of our projects.
If you use valet just execute the init.sh
file to configure your environment automatically.
git clone https://github.com/Yousef-Hatem/Automated-Trading.git Automated-Trading
cd Automated-Trading
bash ./init.sh
Otherwise, you should configure your environment manually by the following steps:
-
Clone the project to your local server using the following command:
git clone https://github.com/Yousef-Hatem/Automated-Trading.git Automated-Trading
-
Go to the project path and configure your environment:
- Copy the
.env.example
file to.env
:cd ./Automated-Trading cp .env.example .env
- Configure database in your
.env
file:DB_DATABASE=project DB_USERNAME=root DB_PASSWORD=
- Install composer packages using the following command:
composer install
- Migrate the database tables and dummy data:
php artisan migrate --seed
After migrating press
Y
to seed dummy data. - Run the project in your browser using
artisan serve
command:php artisan serve
- Go to your browser and visit: http://localhost:8000
- Copy the