Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornernote/minetest-bower
A package manager for Minetest.
https://github.com/cornernote/minetest-bower
Last synced: 3 months ago
JSON representation
A package manager for Minetest.
- Host: GitHub
- URL: https://github.com/cornernote/minetest-bower
- Owner: cornernote
- Created: 2015-08-09T09:46:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-02T04:03:15.000Z (about 4 years ago)
- Last Synced: 2024-10-04T16:44:09.675Z (3 months ago)
- Language: PHP
- Homepage: https://minetest-bower.herokuapp.com/
- Size: 382 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minetest Bower
This application uses [Yii2 Framework](http://www.yiiframework.com/) and is hosted on [Heroku](https://heroku.com/).
## Installing
Install minetest-bower:
```
git clone [email protected]: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
* [Homepage](https://minetest-bower.herokuapp.com/)
* [Project](https://github.com/cornernote/minetest-bower)
* [Forum](https://forum.minetest.net/viewtopic.php?t=13012)
* [Support](https://github.com/cornernote/minetest-bower/issues)