Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docker/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/go/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions docs/nodejs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
```
Expand Down
5 changes: 3 additions & 2 deletions docs/php/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
```
Expand Down
5 changes: 3 additions & 2 deletions docs/php/symfony.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
5 changes: 3 additions & 2 deletions docs/python/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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=<INSERT A PASSWORD HERE> \
Expand Down
5 changes: 3 additions & 2 deletions docs/ruby/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)"
```

Expand Down
7 changes: 4 additions & 3 deletions docs/static-pages/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading