From 32d735efcbb75c2f8e836da2d88a14f054513a68 Mon Sep 17 00:00:00 2001
From: Brett O'Donnell You can use Bower to install Minetest mods and dependency mods quickly
+ and easily under Linux, Windows, and Mac OS X. Bower needs primarily two software packages named
+ NodeJS and Git, which are easy to install. In order to connect to the minetest-bower registry you need to configure bower. Install mods and their dependencies with Find mods that you can install with
+ Register mods with
+ Optionally, to add more information about your mod such as description, screenshots, authors and
+ licence, you can submit a JSON file along with your mod. To do so add a
+ If you are familiar with CLI, you can use Minetest Bower to install Minetest mods and dependency mods quickly
- and easily under Linux, Windows, and Mac OS X. Minetest Bower needs primarily two software packages named
- NodeJS and Git, which are easy to install. Bower is a command line utility. It requires NodeJS and npm and
- Git. Create a
- = Html::a('Installation Guide »', ['/docs/install'], ['class' => 'btn btn-sm btn-default']); ?> Install mods and their dependencies with Find mods that you can install with
- Register mods with
- Optionally, to add more information about your mod such as description, screenshots, authors and
- licence, you can submit a JSON file along with your mod. To do so add a
- Adding a webhook to your repository will update minetest-bower with the latest information each time you push a change. Adding a webhook to your repository will update minetest-bower with the latest information each time you push a
+ change. Create a new webhook and enter
- Create a new webhook and enter
- = Html::encode($this->title) ?>
+ Using Bower to Manage Mods
+
+ Installation
Configure Bower
+ Configuration
Usage
+
+ Install Mods
+
+ bower install
.$ bower install <mod>
+ Search Mods
+
+ bower search
or = Html::a('browse the repository', ['/mod/index']) ?>.$ bower search <keyword>
+
+# for example
+$ bower search rainbow
+ Register Mods
+
+ bower register
or = Html::a('submit a mod online', ['/mod/create']) ?>.$ bower register <my_mod_name> <git_endpoint>
+
+# for example
+$ bower register rainbows https://github.com/user/rainbows.git
+
+ bower.json
file to to your mod's git repository. For the format to be
+ used, = Html::a('click here', ['/docs/bower-format']); ?>.
+ = Html::encode($this->title) ?>
- Using Bower to Manage Mods and Dependencies
-
- Install Bower
-
- $ npm install -g bower
-
- .bowerrc
file in your home directory or minetest folder with the following contents.
- {
- "registry": "https://minetest-bower.herokuapp.com/",
- "directory" : "mods"
-}
- Install Mods
-
- bower install
.$ bower install <mod>
-
- Search Mods
-
- bower search
or = Html::a('browse the repository', ['/mod/index']) ?>.$ bower search <keyword>
-
-# for example
-$ bower search rainbow
-
- Register Mods
-
- bower register
or = Html::a('submit a mod online', ['/mod/create']) ?>.$ bower register <my_mod_name> <git_endpoint>
-
-# for example
-$ bower register rainbows https://github.com/user/rainbows.git
-
- bower.json
file to to your mod's git repository. For the format to be
- used, = Html::a('click here', ['/docs/bower-format']); ?>.
- Other Documentation
-
= Nav::widget([
'items' => [
- ['label' => 'Installation', 'url' => ['/docs/install']],
+ ['label' => 'Bower CLI', 'url' => ['/docs/bower-cli']],
['label' => 'bower.json Format', 'url' => ['/docs/bower-format']],
['label' => 'Update Webhook', 'url' => ['/docs/update-webhook']],
['label' => 'Semantic Versioning', 'url' => ['/docs/semver']],
diff --git a/src/views/docs/update-webhook.php b/src/views/docs/update-webhook.php
index 164e708..6c37762 100644
--- a/src/views/docs/update-webhook.php
+++ b/src/views/docs/update-webhook.php
@@ -1,8 +1,9 @@
title = 'Update Webhook';
$this->params['breadcrumbs'][] = ['label' => 'Docs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
@@ -11,19 +12,20 @@ $this->params['breadcrumbs'][] = $this->title;
= Html::encode($this->title) ?>
- GitHub
= Url::to(['update', 'name' => $model->name], true); ?>
into the
+ = Url::to(['update', 'name' => 'YOUR_MOD_NAME'], true); ?>
into the
Payload URL, then click Add webhook.BitBucket
= Url::to(['update', 'name' => $model->name], true); ?>
into the URL. = Url::to(['update', 'name' => 'YOUR_MOD_NAME'], true); ?>
into the URL.
Minetest Mods is a Minetest mod repository. The repository is unmoderated, anybody may =Html::a('submit a mod',['mod/create'])?>. - Different versions by different people of similar mods are permitted but - each version must have different names.
+Minetest Mods is a Minetest mod repository. The repository is unmoderated, anybody may + = Html::a('submit a mod', ['mod/create']) ?>. + Different versions by different people of similar mods are permitted but each version must have a different + name. A mod can be deleted by deleting the source repo and then clicking update from the mod page.
If you'd like to run a Minetest Mods mirror, this is encouraged and simple to set up. Simply copy the = Html::a('this JSON file', ['package/index']) ?> to your website and update it periodically.
@@ -35,6 +34,7 @@ $this->params['jumbotron'] = '/site/_index-jumbotron'; Mod List'; + echo '