You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Aji Kamaludin ea7708456b
bit fix
1 year ago
app bit fix 1 year ago
bootstrap Initial Commit 🎉 2 years ago
config pint fixing 1 year ago
database change share text html to text only 1 year ago
lang/en Initial Commit 🎉 2 years ago
public bit fix 1 year ago
resources bit fix 1 year ago
routes add pwa support 1 year ago
storage Initial Commit 🎉 2 years ago
tests Initial Commit 🎉 2 years ago
.editorconfig Initial Commit 🎉 2 years ago
.env.example home page refactor and customer favorite 1 year ago
.gitattributes Initial Commit 🎉 2 years ago
.gitignore ignore uploads 1 year ago
Dockerfile prepare model done 2 years ago
README.md deposit sort 1 year ago
TODO.md bugfix 1 year ago
artisan Initial Commit 🎉 2 years ago
composer.json fix notification 1 year ago
composer.lock fix notification 1 year ago
default.conf Initial Commit 🎉 2 years ago
docker-compose.yml deposit sort 1 year ago
jsconfig.json Initial Commit 🎉 2 years ago
package-lock.json fix notification 1 year ago
package.json fix notification 1 year ago
phpunit.xml Initial Commit 🎉 2 years ago
pint.json Initial Commit 🎉 2 years ago
postcss.config.js upgrade flowbite deps 1 year ago
rsync.sh deposit sort 1 year ago
tailwind.config.js deposit sort 1 year ago
user.ini Initial Commit 🎉 2 years ago
vite.config.js bank done 1 year ago

README.md

Voucher App

This online shop to purchase wifi voucher for WISP/Small ISP Based

Support me

Trakteer Saya

Requirements

  • PHP 8.1 or latest
  • Node 16+ or latest

How to run

cp .env.example .env # configure app for laravel
touch database/database.sqlite # if you use .env.example with default sqlite database
composer install
npm install
npm run dev # compiling asset for development

Default User

username : admin@admin.com
password : password

Compile Assets ( to prod )

npm run build

Register Scheduler

crontab -e
* * * * * cd /home/arm/projects/www/voucher && php artisan schedule:run >> /dev/null 2>&1

Other

v1

rsync -arP -e 'ssh -p 224' --exclude=node_modules --exclude=.git --exclude=.env --exclude=storage --exclude=public/hot . arm@ajikamaludin.id:/home/arm/projects/voucher

rsync -arP -e 'ssh -p 224' --exclude=node_modules --exclude=database/database.sqlite --exclude=.git --exclude=.env --exclude=storage --exclude=public/hot . arm@ajikamaludin.id:/home/arm/projects/voucher

v2

rsync -arP -e 'ssh -p 225' --exclude=node_modules  --exclude=public/uploads --exclude=database/database.sqlite --exclude=.git --exclude=.env --exclude=public/hot . arm@ajikamaludin.id:/home/arm/projects/www/voucher

ssh -p 225 arm@ajikamaludin.id -C docker exec php82 php /var/www/voucher/artisan migrate:refresh --seed