diff --git a/docs/docker/quick-start.md b/docs/docker/quick-start.md index 7de142b7..d9e2ded2 100644 --- a/docs/docker/quick-start.md +++ b/docs/docker/quick-start.md @@ -10,7 +10,7 @@ With Dockerfile builds, Deploio can build any app that can be built using a Dock ## Example App -We have a basic Dockerfile app in our [examples repository](https://github.com/ninech/deploio-examples#dockerfile). +We have a basic Dockerfile app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/dockerfile). You can deploy it with [nctl](https://docs.nine.ch/a/85XH6A9bN2/): ```bash diff --git a/docs/go/quick-start.md b/docs/go/quick-start.md index 19f67989..882c96e7 100644 --- a/docs/go/quick-start.md +++ b/docs/go/quick-start.md @@ -11,13 +11,13 @@ the [Heroku Go Cloud Native Buildpack](https://github.com/heroku/buildpacks-go/) ## Example App -We have a basic Go app in our [examples repository](https://github.com/ninech/deploio-examples#go). You can deploy it +We have a basic Go app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/paketo#go). You can deploy it with `nctl`: ```bash nctl create app go \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=go + --git-sub-path=paketo-stack/go ``` ## App Requirements diff --git a/docs/nodejs/quick-start.md b/docs/nodejs/quick-start.md index 2c15e66b..10080fc9 100644 --- a/docs/nodejs/quick-start.md +++ b/docs/nodejs/quick-start.md @@ -31,7 +31,7 @@ In case you don't have a Next.js application yet, you can create one using the N We recommend following the [official Next.js guide](https://nextjs.org/docs/app/getting-started/installation) to create a new Next.js application. If you want to learn the process, -we also provide a basic Next.js app in our [examples repository](https://github.com/ninech/deploio-examples#nodejs). +we also provide a basic Next.js app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/heroku-stack#nodejs). ## Use Git to Store Your Application @@ -55,7 +55,8 @@ To create an application on Deploio, we can use the `nctl create app` command: ```bash nctl create app nextjs \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=nodejs/nextjs \ + --git-sub-path=heroku-stack/nodejs/nextjs \ + --buildpack-stack=heroku \ --build-env=NODE_ENV="production" \ --env=NODE_ENV="production" ``` diff --git a/docs/php/quick-start.md b/docs/php/quick-start.md index c6f9eb16..a21c6cca 100644 --- a/docs/php/quick-start.md +++ b/docs/php/quick-start.md @@ -24,7 +24,7 @@ The Deploio build environment makes use of the [Paketo PHP buildpack](https://pa ## Use an Existing PHP Application or Create a New One -If you do not have a PHP application you want to experiment with, we provide a plain PHP app in our [examples repository](https://github.com/ninech/deploio-examples#php). +If you do not have a PHP application you want to experiment with, we provide a plain PHP app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/heroku-stack#php). ## Use Git to Store Your Application @@ -40,7 +40,8 @@ To create an application on Deploio, you can use the `nctl create app` command: ```bash nctl create app plain-php \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=php/plain \ + --git-sub-path=heroku-stack/php/plain \ + --buildpack-stack=heroku \ --build-env=BP_PHP_WEB_DIR=public \ --build-env=BP_COMPOSER_INSTALL_OPTIONS="--ignore-platform-reqs" ``` diff --git a/docs/php/symfony.md b/docs/php/symfony.md index 2a85e4f4..9c058e59 100644 --- a/docs/php/symfony.md +++ b/docs/php/symfony.md @@ -13,13 +13,14 @@ will install a Symfony application. This allows us to demonstrate the various st ## Example App -We have a basic Symfony app in our [examples repository](https://github.com/ninech/deploio-examples#php). +We have a basic Symfony app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/heroku-stack#php). You can deploy it with `nctl`: ```bash nctl create app symfony \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=php/symfony \ + --git-sub-path=heroku-stack/php/symfony \ + --buildpack-stack=heroku \ --env="APP_SECRET=$()echo $RANDOM | md5sum | head -c 16)" \ --build-env=BP_PHP_SERVER=nginx \ --build-env=BP_PHP_WEB_DIR=public \ diff --git a/docs/python/quick-start.md b/docs/python/quick-start.md index 758e6efa..9564549a 100644 --- a/docs/python/quick-start.md +++ b/docs/python/quick-start.md @@ -10,7 +10,7 @@ The Deploio build environment makes use of the [Paketo Python Buildpack](https:/ ## Example App -We have a basic Python Django app in our [examples repository](https://github.com/ninech/deploio-examples#python). +We have a basic Python Django app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/heroku-stack#python). You can deploy it with `nctl`. The example application shows a random message on every page reload. The Django admin interface can be used to add messages. @@ -20,7 +20,8 @@ Please also define the `SECRET_KEY` which is needed to secure signed data and sh ```bash nctl create app django-example \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=python/django \ + --git-sub-path=heroku-stack/python/django \ + --buildpack-stack=heroku \ --env=DJANGO_SU_NAME=admin \ --env=DJANGO_SU_EMAIL=admin@example.com \ --env=DJANGO_SU_PASSWORD= \ diff --git a/docs/ruby/quick-start.md b/docs/ruby/quick-start.md index ac1106b9..a826853e 100644 --- a/docs/ruby/quick-start.md +++ b/docs/ruby/quick-start.md @@ -24,7 +24,7 @@ In case you don't have a Rails application yet, you can create one using the Rai We recommend following the [official Rails guide](https://guides.rubyonrails.org/getting_started.html#creating-your-first-rails-app) to create a new Rails application. -We also have a basic Rails app in our [examples repository](https://github.com/ninech/deploio-examples#ruby-on-rails), +We also have a basic Rails app in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/heroku-stack#ruby-on-rails), which you can also choose as a starting point. ::: warning @@ -75,7 +75,8 @@ Replace `MY_RAILS_APP_NAME` with your chosen app name and run: ```bash nctl create app MY_RAILS_APP_NAME \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=ruby/rails-basic \ + --git-sub-path=heroku-stack/ruby/rails-basic \ + --buildpack-stack=heroku \ --env="SECRET_KEY_BASE=$(rails secret)" ``` diff --git a/docs/static-pages/quick-start.md b/docs/static-pages/quick-start.md index cab2d80d..1865d7f2 100644 --- a/docs/static-pages/quick-start.md +++ b/docs/static-pages/quick-start.md @@ -22,20 +22,21 @@ Static sites are detected by looking for these files in your git repo: ## Example Apps -We have two static sites in our [examples repository](https://github.com/ninech/deploio-examples#static). +We have two static sites in our [examples repository](https://github.com/ninech/deploio-examples/tree/main/paketo-stack/#static). You can deploy them with `nctl`: * just a plain `index.html`: ```bash nctl create app static-html \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=static/html + --git-sub-path=paketo-stack/static/html ``` * a frontend react app built with `npm`: ```bash nctl create app static-react \ --git-url=https://github.com/ninech/deploio-examples \ - --git-sub-path=static/react + --git-sub-path=heroku-stack/static/react + --buildpack-stack=heroku # notice that we use Heroku buildpacks here ``` ## Web server root