GithubHelp home page GithubHelp logo

quotations's Introduction

POLLUX MES install instructions

Pollux MES is an application developed in Laravel 10 + Vite + MySQL

  1. Download and install php >= 8.1
  2. Download and install Composer (for dependencies)
  3. Modify php.ini file and remove ';' to activate ext pdo_mysql in the line:
    ;extension=pdo_mysql
  1. Download and install node and npm
  2. Download and install Mysql
  3. Download and install GIT (for version control and updates)
  4. 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
  1. 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
  1. Execute npm install
npm install
  1. 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=
  1. Execute php artisan migrate (answer yes when prompt in order to create the database automatically)
php artisan migrate
  1. 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.

How to update?

  • Navigate to the root directory of the project, open a cmd or terminal and execute this:
git pull origin master

quotations's People

Contributors

driftking301 avatar eclipxe13 avatar

Watchers

 avatar  avatar

quotations's Issues

Illuminate \ Database \ QueryException

PHP 8.2.4
10.1.5

Line highlighted at 760
throw new QueryException(

Error shown
SQLSTATE[HY000]: General error: 1364 Field 'real_name' doesn't have a default value (Connection: mysql, SQL: insert into clients (name, description, notes, updated_at, created_at) values (Gerard, Test, Testing, 2023-03-25 06:23:21, 2023-03-25 06:23:21))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.