forge-heroku


Nameforge-heroku JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://www.forgepackages.com/
SummaryWork library for Forge
upload_time2023-01-20 02:42:56
maintainer
docs_urlNone
authorDave Gaeddert
requires_python>=3.8,<4.0
licenseMIT
keywords django saas forge framework
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # forge-heroku

Deploy a Django project to Heroku with minimal configuration.

This package is specifically designed to work with the [Forge Heroku Buildpack](https://github.com/forgepackages/heroku-buildpack-forge).

```console
$ forge heroku
Usage: forge heroku [OPTIONS] COMMAND [ARGS]...

  Commands for deploying and managing Heroku apps

Options:
  --help  Show this message and exit.

Commands:
  create          Create a new Heroku app with Postgres...
  pre-deploy      Pre-deploy checks for release process
  serve           Run a production server using gunicorn
  set-buildpacks  Automatically determine and set buildpacks
  shell           Open a remote Django shell
```

## Default Procfile

When you use the Forge buildpack,
Heroku will automatically set up a `Procfile` for you.
Here's what it does:

```yaml
web: forge heroku serve
release: forge heroku pre-deploy
```

If you need to customize your `Procfile`, simply add one to your repo!

## Deploy checks

In the Heroku ["release" phase](https://devcenter.heroku.com/articles/release-phase) we run `manage.py check --deploy --fail-level WARNING` as part of `forge heroku pre-deploy`.

[This runs a number of Django system checks](https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/#run-manage-py-check-deploy) (many related to the settings above) and will prevent deploying your app if any checks fail.
You can also [create your own checks](https://docs.djangoproject.com/en/4.1/topics/checks/) that will run during this process.

## Migrations

The `forge heroku pre-deploy` will also run `manage.py migrate` to ensure that your database is up to date.

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.forgepackages.com/",
    "name": "forge-heroku",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "django,saas,forge,framework",
    "author": "Dave Gaeddert",
    "author_email": "dave.gaeddert@dropseed.dev",
    "download_url": "https://files.pythonhosted.org/packages/53/73/d5006a40c16402d7cd3e5636e73078923fc8208a85e0eb09c18f8760f38f/forge_heroku-1.0.0.tar.gz",
    "platform": null,
    "description": "# forge-heroku\n\nDeploy a Django project to Heroku with minimal configuration.\n\nThis package is specifically designed to work with the [Forge Heroku Buildpack](https://github.com/forgepackages/heroku-buildpack-forge).\n\n```console\n$ forge heroku\nUsage: forge heroku [OPTIONS] COMMAND [ARGS]...\n\n  Commands for deploying and managing Heroku apps\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  create          Create a new Heroku app with Postgres...\n  pre-deploy      Pre-deploy checks for release process\n  serve           Run a production server using gunicorn\n  set-buildpacks  Automatically determine and set buildpacks\n  shell           Open a remote Django shell\n```\n\n## Default Procfile\n\nWhen you use the Forge buildpack,\nHeroku will automatically set up a `Procfile` for you.\nHere's what it does:\n\n```yaml\nweb: forge heroku serve\nrelease: forge heroku pre-deploy\n```\n\nIf you need to customize your `Procfile`, simply add one to your repo!\n\n## Deploy checks\n\nIn the Heroku [\"release\" phase](https://devcenter.heroku.com/articles/release-phase) we run `manage.py check --deploy --fail-level WARNING` as part of `forge heroku pre-deploy`.\n\n[This runs a number of Django system checks](https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/#run-manage-py-check-deploy) (many related to the settings above) and will prevent deploying your app if any checks fail.\nYou can also [create your own checks](https://docs.djangoproject.com/en/4.1/topics/checks/) that will run during this process.\n\n## Migrations\n\nThe `forge heroku pre-deploy` will also run `manage.py migrate` to ensure that your database is up to date.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Work library for Forge",
    "version": "1.0.0",
    "split_keywords": [
        "django",
        "saas",
        "forge",
        "framework"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a23dab52f7e4a00e8062663eac3adb2ac8a0de68cd2d23f8715baf22c7fcc00c",
                "md5": "cc5b78ee4f1d5f3c16db7ed871ca825e",
                "sha256": "bdba1a46e545cc412dc9ab58c56007dd6841e7611cdfe66a421fc0e21099b419"
            },
            "downloads": -1,
            "filename": "forge_heroku-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc5b78ee4f1d5f3c16db7ed871ca825e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 5768,
            "upload_time": "2023-01-20T02:42:55",
            "upload_time_iso_8601": "2023-01-20T02:42:55.670170Z",
            "url": "https://files.pythonhosted.org/packages/a2/3d/ab52f7e4a00e8062663eac3adb2ac8a0de68cd2d23f8715baf22c7fcc00c/forge_heroku-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5373d5006a40c16402d7cd3e5636e73078923fc8208a85e0eb09c18f8760f38f",
                "md5": "9aded6aab3f67de78a5d993d1069baf5",
                "sha256": "fbbafc2a724b0b1acc4eb01fd42829f8c72b484102936aa84f8a5917e5d231e1"
            },
            "downloads": -1,
            "filename": "forge_heroku-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9aded6aab3f67de78a5d993d1069baf5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 5154,
            "upload_time": "2023-01-20T02:42:56",
            "upload_time_iso_8601": "2023-01-20T02:42:56.961265Z",
            "url": "https://files.pythonhosted.org/packages/53/73/d5006a40c16402d7cd3e5636e73078923fc8208a85e0eb09c18f8760f38f/forge_heroku-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-20 02:42:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "forge-heroku"
}
        
Elapsed time: 0.02845s