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.
|
1 year ago | |
---|---|---|
_screenshot | 1 year ago | |
app | 1 year ago | |
bootstrap | 1 year ago | |
config | 1 year ago | |
database | 1 year ago | |
lang/en | 1 year ago | |
public | 1 year ago | |
resources | 1 year ago | |
routes | 1 year ago | |
storage | 1 year ago | |
tests | 1 year ago | |
.editorconfig | 1 year ago | |
.env.example | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
README.md | 1 year ago | |
TODO.md | 1 year ago | |
artisan | 1 year ago | |
composer.json | 1 year ago | |
composer.lock | 1 year ago | |
default.conf | 1 year ago | |
docker-compose.yml | 1 year ago | |
jsconfig.json | 1 year ago | |
package-lock.json | 1 year ago | |
package.json | 1 year ago | |
phpunit.xml | 1 year ago | |
pint.json | 1 year ago | |
postcss.config.js | 1 year ago | |
rsync.sh | 1 year ago | |
tailwind.config.js | 1 year ago | |
user.ini | 1 year ago | |
vite.config.js | 1 year ago |
README.md
Voucher App
This online shop to purchase wifi voucher for WISP/Small ISP Based
Support me
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
Screenshot
![]() |
![]() |
![]() |
![]() |
![]() |
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