1.2 KiB
1.2 KiB
Minetest Bower
This application uses Yii2 Framework and is hosted on Heroku.
Installing
Install minetest-bower:
git clone git@github.com:cornernote/minetest-bower.git
Install composer:
curl -s http://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Install dependencies with composer:
composer install
Using Heroku
Deploy:
git push heroku master
Run migrations:
heroku run php /app/yii migrate/up --interactive=0
Bash:
heroku run bash
Bash with vim
heroku vim
View database:
heroku pg:psql
View logs:
heroku logs --tail
More info:
https://devcenter.heroku.com/articles/getting-started-with-php
Application Commands
Update all packages from git repositories:
heroku run php /app/yii package/update
Import mods from MTPM:
heroku run php /app/yii package/import-mtpm