Docker
TMDB API key ([how-to|https://kb.synology.com/en-global/DSM/tutorial/How_to_apply_for_a_personal_API_key_to_get_video_info])
cp .env.example .env
docker-compose build app
docker-compose up -d
to run in background. Check docker-compose commands for more info: https://docs.docker.com/compose/reference/
[optional]
docker-compose ps
to see state of active services (containers running in background)
docker-compose exec app rm -rf vendor composer.lock
docker-compose exec app composer install
docker-compose exec app php artisan key:generate
http://server_domain_or_IP:8000, i.e. probably localhost:8000
Follow this very short and simple instructional article to install Node and NPM https://logfetch.com/install-node-npm-wsl2/
Once done, to install the packages defined in package.json, run:
npm install
To watch assets for development run this. BrowserSync enabled by default and runs on port 3000, so if you want hot reloads, go to :3000 not :8000. The port can be changed in webpack.mix.js file in project root.
npm run watch
To build assets for deployment, run:
npm run prod