diff --git a/README.md b/README.md index e7d1b2a..98dafcf 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,16 @@ Lychee is a free photo-management tool, which runs on your server or web-space. To run Lychee, everything you need is a web-server with PHP 5.5 or later and a MySQL-Database. Follow the instructions to install Lychee on your server. [Installation »](docs/Installation.md) +## Nitrous Quickstart + +Create a free development environment for this Lychee project in the cloud on [Nitrous.io](https://www.nitrous.io) by clicking the button below. + + + Nitrous Quickstart + + +Simply access your site via the `Preview > 3000` link in the IDE. + ## How to use You can use Lychee right after the installation. Here are some advanced features to get the most out of it. @@ -73,4 +83,4 @@ Take a look at the [FAQ](docs/FAQ.md) if you have problems. Discovered a bug? Pl ## Donate -I am working hard on continuously developing and maintaining Lychee. Please consider making a donation via [Flattr](https://flattr.com/submit/auto?user_id=electerious&url=http%3A%2F%2Flychee.electerious.com&title=Lychee&category=software) or PayPal (from [our site](http://lychee.electerious.com/)) to keep the project going strong and me motivated. \ No newline at end of file +I am working hard on continuously developing and maintaining Lychee. Please consider making a donation via [Flattr](https://flattr.com/submit/auto?user_id=electerious&url=http%3A%2F%2Flychee.electerious.com&title=Lychee&category=software) or PayPal (from [our site](http://lychee.electerious.com/)) to keep the project going strong and me motivated. diff --git a/README.nitrous.md b/README.nitrous.md new file mode 100644 index 0000000..d9055e7 --- /dev/null +++ b/README.nitrous.md @@ -0,0 +1,9 @@ +# Setup + +Welcome to your Lychee project on Nitrous. + +Now you've got a development server running and can see the output in the Nitrous terminal window. You can open up a new shell or utilize [tmux](https://community.nitrous.io/docs/tmux) to open new shells to run other commands. + +## Preview the app + +In the Nitrous IDE, open the "Preview" menu and click "Port 3000". diff --git a/nitrous.json b/nitrous.json new file mode 100644 index 0000000..ddb4d8a --- /dev/null +++ b/nitrous.json @@ -0,0 +1,9 @@ +{ + "template": "php-apache", + "ports": [3000], + "name": "Lychee", + "description": "A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.", + "scripts": { + "post-create": "rm -rf ~/code/public_html && cd ~/code && mv Lychee public_html && sudo chown -R nitrous:www-data public_html && sudo chmod -R g+w public_html && cd public_html && sudo chmod -R 777 uploads/ data/" + } +}