Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change running IP without command line arg #107

Closed
chppppp opened this issue Dec 28, 2016 · 1 comment
Closed

Change running IP without command line arg #107

chppppp opened this issue Dec 28, 2016 · 1 comment

Comments

@chppppp
Copy link

chppppp commented Dec 28, 2016

How do I tell this flask app to run on the local interface IP without passing the command line arg --host=x.x.x.x ?

Thank you! Flask newb here :)

@chppppp
Copy link
Author

chppppp commented Dec 28, 2016

I had to update a section of lib/python2.7/site-packages/flask/cli.py

@click.option('--host', '-h', default='192.168.1.99',    #127.0.0.1',
          help='The interface to bind to.')

@chppppp chppppp closed this as completed Dec 28, 2016
sloria pushed a commit that referenced this issue Mar 9, 2019
)

Bumps [pep8-naming](https://github.com/PyCQA/pep8-naming) from 0.8.0 to 0.8.2.
<details>
<summary>Changelog</summary>

*Sourced from [pep8-naming's changelog](https://github.com/PyCQA/pep8-naming/blob/master/CHANGELOG.rst).*

> 0.8.2 - 2019-02-04
> ------------------
> 
> * Fix a problem with ``ignore-names`` option initialization.
> 
> 0.8.1 - 2019-02-04
> ------------------
> 
> * ``ignore-names`` now also applies to the N806, N815, and N816 checks.
> 
> * ``failureException``, ``longMessage``, and ``maxDiff`` have been added to
>   the default ``ignore-names`` list.
> 
> * Allow lowercase names to be imported as just ``_``.
> 
> * Allow function arguments to be named just ``_``.
> 
> * Support Python 2's tuple syntax in ``except`` clauses.
</details>
<details>
<summary>Commits</summary>

- [`7654783`](PyCQA/pep8-naming@7654783) Merge pull request [#111](https://github-redirect.dependabot.com/PyCQA/pep8-naming/issues/111) from jparise/ignore-names-default
- [`3401bd1`](PyCQA/pep8-naming@3401bd1) Test --ignore-names for relevant error codes
- [`743b26c`](PyCQA/pep8-naming@743b26c) Fix ignore-names option initialization
- [`2d0e538`](PyCQA/pep8-naming@2d0e538) Merge pull request [#108](https://github-redirect.dependabot.com/PyCQA/pep8-naming/issues/108) from jparise/setup-check-rest
- [`dadf0af`](PyCQA/pep8-naming@dadf0af) Merge pull request [#107](https://github-redirect.dependabot.com/PyCQA/pep8-naming/issues/107) from jparise/0.8.1-changelog
- [`a71425b`](PyCQA/pep8-naming@a71425b) Check reStructuredText syntax along with flake8
- [`a7c1539`](PyCQA/pep8-naming@a7c1539) Prepare the changelog for the 0.8.1 release
- [`3b10510`](PyCQA/pep8-naming@3b10510) Merge pull request [#105](https://github-redirect.dependabot.com/PyCQA/pep8-naming/issues/105) from jparise/function-type
- [`67294f0`](PyCQA/pep8-naming@67294f0) Consistently use the _FunctionType constants
- [`9596c43`](PyCQA/pep8-naming@9596c43) Merge pull request [#100](https://github-redirect.dependabot.com/PyCQA/pep8-naming/issues/100) from jparise/excepthandler-tuple
- Additional commits viewable in [compare view](PyCQA/pep8-naming@0.8.0...0.8.2)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=pep8-naming&package-manager=pip&previous-version=0.8.0&new-version=0.8.2)](https://dependabot.com/compatibility-score.html?dependency-name=pep8-naming&package-manager=pip&previous-version=0.8.0&new-version=0.8.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
Dependabot will **not** automatically merge this PR because this dependency is pre-1.0.0.

[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant