Depend on laravel version, now its 9.11.0 so you can check this official documentation - if laravel version updated - we'll update this page.
Requirements to run the project:
Requirements to build the frontends:
npm install -g gulp
src
cd ../src/
npm install
qdt-env.sample.js to qdt-env.js or run command gulp init (config file for assets)cp qdt-env.sample.js qdt-env.js
gulp compile
php from rootcd ../php/
.env.example to .env (config file of project)cp .env.example .env
public/.htaccess.example to public/.htaccess (moved to gitignore for custom setting htpaswrd)composer install (install all necessary libraries)composer install
php artisan key:generate to generate application key for projectphp artisan key:generate
php artisan storage:link
php artisan migrate
php artisan db:seed
If everything is filled right in config file - project is ready to run locally or deploy.
To run project locally you can run with php artisan serve.
php artisan serve
php folder (not from root folder if you don't expect to compile assets via ssh) via FTP or SFTP.php artisan storage:link (run this command on server in root folder of project - you get exception symlink() has been disabled for security reasons - you need to enable this function on server instructions)Thats all if you take project from Github.
When starting the website locally we should use the seeders to populate the database. This is scheduled to be updated in issue. Seeders would populate the website with demo data. This does not mean a copy of the website.
Dump of database can be done with command mysqldump -u <user name> -p <database> > <path to file>.
If a copy of the website is desired - we need also a database dump from the server AND a copy with the folder php/storage/app (there are images, some custom css files for icons, files uploaded in admin dashboard, etc.)
Also you can do all this things on server via ssh - there must be installed all necessary tools like composer, npm.
For composer Laravel documentation doesn't specify the version.
For assets (src folder):
nodejs 16.20.0 LTS
gulp 4
npm 7 or laterIn this case you can take all folders from github (php and src) and point as root folder php/public (not like in Compiling section item 4) - so you can compile all assets on server via ssh.
Add new webhook url (in memsource dashboard) like <your_domain>/webhooks/memsource/job-status-changed/ (where <your_domain> is current used domain, where you need memsource, https://business.booking.com for example) with trailing slash or not - how your project is configured, this is important. This webhook url you can set up on this page