Between Dev Versions


Dev versions are unstable and may contain bugs. They are only used for testing and not suitable for production. Use them at your own risk.

Backup Current Installation

cd /var/www
mv pterobilling pterobilling-backup
mysqldump -u username -p password mydatabase > /path/to/pterobilling-backup.sql

Install the New Dev Version

# You may add --no-dev to the end of the command below if you just want to test and not going to contribute
composer create-project pterobilling/pterobilling pterobilling --stability=dev
chmod -R 755 /var/www/pterobilling
chown -R www-data:www-data /var/www/pterobilling

Enable Maintenance Mode

cd /var/www/pterobilling
php artisan down

Update Database Tables

php artisan migrate --seed --force

Cache Config Files and Views

php artisan config:cache
php artisan view:cache

Restart Queue Workers

php artisan queue:restart

Disable Maintenance Mode

php artisan up