The website "korean-job.co.nz" is intended for both Korean employees and employers.
composer global require laravel/valet
echo "export PATH=~/.composer/vendor/bin:$PATH" >> ~/.bashrc
source ~/.bashrc
valet install
Cloning:
cd ~/Sites
git clone https://github.com/cable8mm/korean-job.git
cd korean-job
Setting:
composer install # install Project
php artisan storage:link # for uploading images and files
valet secure # set https
valet use; # setup php@8.2
composer global update; # update global composer
npm install # install npm libraries
valet open # visit https://korea-job.test
Database:
- Database : korean-job
php artisan migrate
php artisan nova:user
# make Name, Email Address, Password and create user
Mail:
brew install mailpit
brew services start mailpit
Visit to http://localhost:8025
php artisan lang:add af
Refer to this link about it.
composer test
Development:
npm run dev
Production:
Push must be done in Production state.
npm run prod
For testing third party integration, you should make github repository secrets as belows.
Laravel Nova is required,
- NOVA_PASSWORD
- NOVA_USERNAME
Google Login is optional for social logins,
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
Facebook Login is optional for social logins,
- FACEBOOK_CLIENT_ID
- FACEBOOK_CLIENT_SECRET
Kakao Login is optional for social logins,
- KAKAO_CLIENT_ID
- KAKAO_CLIENT_SECRET
Additionally, Github, Instagram and Naver are supported to login.
The stage server is automatically deployed in Merge, and the live server is deployed manually at Envoy. However, you must first create a GitHub Release before live deployment.