Added Nitrous.io quickstart configs and update doc (#2136)

This commit is contained in:
yeouchien 2016-04-19 21:20:37 +08:00 committed by Frédéric Guillot
parent bcee0ef48e
commit aea8784ab5
4 changed files with 31 additions and 0 deletions

View File

@ -101,6 +101,7 @@ Technical details
- [Run Kanboard with Docker](docker.markdown)
- [Run Kanboard with Vagrant](vagrant.markdown)
- [Run Kanboard on Cloudron](cloudron.markdown)
- [Run Kanboard on Nitrous](nitrous.markdown)
### Configuration

10
doc/nitrous.markdown Normal file
View File

@ -0,0 +1,10 @@
Nitrous Quickstart
==================
Create a free development environment for this Kanboard project in the cloud on [Nitrous.io](https://www.nitrous.io) by clicking the button below.
<a href="https://www.nitrous.io/quickstart">
<img src="https://nitrous-image-icons.s3.amazonaws.com/quickstart.png" alt="Nitrous Quickstart" width=142 height=34>
</a>
Simply access your site via the `Preview > 3000` link in the IDE.

14
nitrous-post-create.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
rm -rf ~/code/public_html
sudo apt-get update
sudo apt-get install -y php5-sqlite
sudo apt-get clean
cd ~/code
mv kanboard public_html
cd public_html
composer install
cd ~/code
sudo chown -R nitrous:www-data public_html
sudo service apache2 reload

6
nitrous.json Normal file
View File

@ -0,0 +1,6 @@
{
"template": "php-apache",
"ports": [3000],
"name": "Kanboard",
"description": "Kanban project management software"
}