2016-08-20 09:04:45 +09:30
2015-08-08 04:01:35 +09:30
2015-09-07 10:06:58 +09:30
2015-08-08 04:01:35 +09:30
2015-08-10 21:50:52 +09:30
2015-08-12 09:55:46 +09:30
2015-08-12 08:52:08 +09:30
2015-08-12 08:52:08 +09:30
2015-08-08 04:01:35 +09:30
2016-08-20 09:04:45 +09:30
yii
2015-08-10 21:46:54 +09:30

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

Setup:

sudo apt-get install postgresql-client
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
heroku login

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 logs:

heroku logs --tail

Connect to database:

heroku pg:psql

Database commands:

\dt # list tables
\d+ package # describe package table
DELETE FROM package WHERE name='modname'; # delete a package

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

Resources

Description
No description provided
Readme 514 KiB
Languages
PHP 88.6%
JavaScript 8.3%
CSS 3.1%