___ _ _
___ / __\___ _ __ ___ _ __ ___ ___ _ __ ___(_) __ _| |
/ _ \/ / / _ \| '_ ` _ \| '_ ` _ \ / _ \ '__/ __| |/ _` | |
| __/ /__| (_) | | | | | | | | | | | __/ | | (__| | (_| | |
\___\____/\___/|_| |_| |_|_| |_| |_|\___|_| \___|_|\__,_|_|
eCommercial is a web solution to manage commercial activites with ease.
Tool | Version |
---|---|
PHP | 8.2.13 |
Laravel | 10.33.0 |
Composer | 2.6.5 |
Node.js | 21.2.0 |
MySQL | 8.1.0 |
- Docker
- Vessel
First, make sure Docker is up running.
-
Clone the project
mkdir ~/eexperts
cd ~/eexperts
git clone git@github.com:eexperts/vessel.git
-
Build and run the required containers for this project
cd vessel
./build.sh
-
Add the following entries into your
/etc/hosts
fileecho "127.0.0.1 ecommercial.local api.ecommercial.local dashboard.ecommercial.local" >> /etc/hosts
-
Create a database named
ecommercial
in your local.sh connect.sh mysql
mysql -uroot -proot
CREATE DATABASE ecommercial;
-
Clone our repository inside your eexperts folder
~/eexperts/
cd ~/eexperts/
git clone git@github.com:eexperts/ecommercial.git
-
Connect to
php82
container where the project is hostedcd ~/eexperts/vessel
sh connect.sh workspace
-
Install the dependencies
cd /var/www/ecommercial/backend
composer install
-
Migrate the tables
php artisan migrate
-
Seed the shipping companies
php artisan db:seed
-
You need to run the following command inside
php82
container to make queued jobs work:cd ~/eexperts/ecommercial/backend
php artisan queue:work