- Download and install php >= 8.1
- Download and install Composer (for dependencies)
- Modify php.ini file and remove ';' to activate ext
pdo_mysql
in the line:
;extension=pdo_mysql
- Download and install node and npm
- Download and install Mysql
- Download and install GIT (for version control and updates)
- Select a folder to install the app and open a cmd or terminal in the selected folder, and open it after the clone is finished
git clone https://github.com/driftking301/quotations.git
cd quotations
- Execute composer install
composer install
If the command shows an error add the flag --ignore-platform-req=ext-fileinfo
composer install --ignore-platform-req=ext-fileinfo
- Execute npm install
npm install
- Open .env.example with a text editor and modify it with the Database settings
- DB_DATABASE=quotations will be created in next step
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=quotations
DB_USERNAME=root
DB_PASSWORD=
- Execute php artisan migrate (answer yes when prompt in order to create the database automatically)
php artisan migrate
- Execute php artisan key:generate
php artisan migrate key:generate
If you want to check the app configuration is working you will need 2 cmd or 2 terminals:
- first terminal:
php artisan serve
- second terminal:
npm run dev
This will open a server in localhost:8000 and you will see the app running
Depending on the type of web server you have, you will have to do the app deployment and the necessary configuration.
This app will receive updates constantly.
- Navigate to the root directory of the project, open a cmd or terminal and execute this:
git pull origin master