Skip to content
Permalink
Browse files

Removed documentation for Zeit Now v1, refs #710

  • Loading branch information
simonw committed Mar 24, 2020
1 parent c0aa929 commit 5f4aeb1f198e2e866a1eed6a7194842d77313ea8
Showing with 2 additions and 65 deletions.
  1. +1 −1 README.md
  2. +0 −31 docs/datasette-publish-nowv1-help.txt
  3. +0 −3 docs/index.rst
  4. +1 −28 docs/publish.rst
  5. +0 −1 tests/test_docs.py
  6. +0 −1 update-docs-help.py
@@ -153,7 +153,7 @@ The license and source information will be displayed on the index page and in th

## datasette publish

If you have [Heroku](https://heroku.com/), [Google Cloud Run](https://cloud.google.com/run/) or [Zeit Now v1](https://zeit.co/now) configured, Datasette can deploy one or more SQLite databases to the internet with a single command:
If you have [Heroku](https://heroku.com/) or [Google Cloud Run](https://cloud.google.com/run/) configured, Datasette can deploy one or more SQLite databases to the internet with a single command:

datasette publish heroku database.db

This file was deleted.

@@ -37,6 +37,3 @@ Contents
internals
contributing
changelog

.. _Zeit Now: https://zeit.co/now
.. _Heroku: https://www.heroku.com/
@@ -4,7 +4,7 @@
Publishing data
=================

Datasette includes tools for publishing and deploying your data to the internet. The ``datasette publish`` command will deploy a new Datasette instance containing your databases directly to a Heroku, Google Cloud or Zeit Now hosting account. You can also use ``datasette package`` to create a Docker image that bundles your databases together with the datasette application that is used to serve them.
Datasette includes tools for publishing and deploying your data to the internet. The ``datasette publish`` command will deploy a new Datasette instance containing your databases directly to a Heroku or Google Cloud hosting account. You can also use ``datasette package`` to create a Docker image that bundles your databases together with the datasette application that is used to serve them.

.. _cli_publish:

@@ -70,33 +70,6 @@ Publishing to Fly

Consult the `datasette-publish-fly README <https://github.com/simonw/datasette-publish-fly/blob/master/README.md>`__ for more details.

Publishing to Zeit Now v1
-------------------------

Datasette can be deployed to Zeit Now's older v1 hosting platform. They no longer accept new signups for this service, so this option is currently only available if you created an account before January 2019.

To publish your database(s) to a new instance hosted by Zeit Now v1, install the `now cli tool <https://zeit.co/download>`__ and then run the following command::

datasette publish nowv1 mydatabase.db

This will upload your database to Zeit Now, assign you a new URL and install and start a new instance of Datasette to serve your database.

The command will output a URL that looks something like this::

https://datasette-elkksjmyfj.now.sh

You can navigate to this URL to see live logs of the deployment process. Your new Datasette instance will be available at that URL.

Once the deployment has completed, you can assign a custom URL to your instance using the ``now alias`` command::

now alias https://datasette-elkksjmyfj.now.sh datasette-publish-demo.now.sh

You can use ``anything-you-like.now.sh``, provided no one else has already registered that alias.

You can also use custom domains, if you `first register them with Zeit Now <https://zeit.co/docs/features/aliases>`_.

.. literalinclude:: datasette-publish-nowv1-help.txt

.. _publish_custom_metadata_and_plugins:

Custom metadata and plugins
@@ -34,7 +34,6 @@ def test_config_options_are_documented(config):
(
("serve", "datasette-serve-help.txt"),
("package", "datasette-package-help.txt"),
("publish nowv1", "datasette-publish-nowv1-help.txt"),
("publish heroku", "datasette-publish-heroku-help.txt"),
("publish cloudrun", "datasette-publish-cloudrun-help.txt"),
),
@@ -7,7 +7,6 @@
includes = (
("serve", "datasette-serve-help.txt"),
("package", "datasette-package-help.txt"),
("publish nowv1", "datasette-publish-nowv1-help.txt"),
("publish heroku", "datasette-publish-heroku-help.txt"),
("publish cloudrun", "datasette-publish-cloudrun-help.txt"),
)

0 comments on commit 5f4aeb1

Please sign in to comment.
You can’t perform that action at this time.