___ _ _
___ / __\___ _ __ ___ _ __ ___ ___ _ __ ___(_) __ _| |
/ _ \/ / / _ \| '_ ` _ \| '_ ` _ \ / _ \ '__/ __| |/ _` | |
| __/ /__| (_) | | | | | | | | | | | __/ | | (__| | (_| | |
\___\____/\___/|_| |_| |_|_| |_| |_|\___|_| \___|_|\__,_|_|
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 ~/eexpertscd ~/eexpertsgit 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/hostsfileecho "127.0.0.1 ecommercial.local api.ecommercial.local dashboard.ecommercial.local" >> /etc/hosts -
Create a database named
ecommercialin your local.sh connect.sh mysqlmysql -uroot -prootCREATE DATABASE ecommercial;
-
Clone our repository inside your eexperts folder
~/eexperts/cd ~/eexperts/git clone git@github.com:eexperts/ecommercial.git -
Connect to
php82container where the project is hostedcd ~/eexperts/vesselsh connect.sh workspace -
Install the dependencies
cd /var/www/ecommercial/backendcomposer install -
Migrate the tables
php artisan migrate -
Seed the shipping companies
php artisan db:seed
-
You need to run the following command inside
php82container to make queued jobs work:cd ~/eexperts/ecommercial/backendphp artisan queue:work