Source code for Final Fantasy Memory Quest.
🟢 If the two cards are the same, then you win 10 points. | 🔴 If the two cards are different, then you lose 1 point and the number of Attempts increases. |
You will need to have the following installed:
To install the back-end vendors, launch the following command:
cd project
composer install
The .env
file is mandatory to set up the site. The file should be located in the root of the project.
Copy the .env.example
file and rename it to .env
.
To clear the cache, run the following command:
sh scripts/refresh_cache.sh
To create the database, run the following command:
php artisan migrate
To seed the database, run the following command:
php artisan db:seed
You will need to have the following installed:
To compile the front-end assets, launch the following command to install the dependencies:
npm run development
Or, for minified assets:
npm run production
You should now see two new files within your projexts public
folder:
- .public/css/app.min.css
- .public/js/app.min.js
To watch for changes, run the following command:
npm run start