Skip to main content

build and deploy Pythonic apps

Project description

Build and deploy Pythonic apps.

Attention

PRE-ALPHA RELEASE.

NOT READY FOR PRODUCTION. ONLY FOR TESTING PURPOSES. YOU MAY LOSE ALL YOUR DATA.

TL;DR

$ export DATABASE_URL=mysql://USER:PASSWORD@HOST:PORT/NAME
$ export DOMAIN_NAME=<enter-your-domain-name>
$ pytower --deploy

Requires

  • python >= 3.8

Dependencies

On Ubuntu 22.04 or Ubuntu 20.04:

$ sudo apt install python3-venv docker.io docker-compose

Post-Installation

$ sudo usermod -aG docker $USER
$ newgrp docker

Deploy

$ cd ~
$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv) $ pip install --upgrade pip
(.venv) $ pip install pytower

(.venv) $ export DATABASE_URL=mysql://USER:PASSWORD@HOST:PORT/NAME
(.venv) $ export DOMAIN_NAME=<enter-your-domain-name>
(.venv) $ pytower --deploy

License

Copyright (C) 2022-2023 Salman Mohammadi <salman@pytower.com>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytowerfrontman-0.0.1.dev1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytowerfrontman-0.0.1.dev1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file pytowerfrontman-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: pytowerfrontman-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19+

File hashes

Hashes for pytowerfrontman-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 46b73affe22db202347378b7503f07152501da482baa420b336ee185809a4de8
MD5 c369b7ca436968557f375e59a96d7ee4
BLAKE2b-256 1b3affd2b872b831fdcc03e3fb7885ef9b64b11e40a1794b67855ac251871b2d

See more details on using hashes here.

File details

Details for the file pytowerfrontman-0.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytowerfrontman-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 e930fd64f213a7f26a0fba495581bf5bf66fb7fd22484514f5a06981153445e5
MD5 519987bae52a2383084efc649bf1a3f7
BLAKE2b-256 617e6184831472c7b196847a460b2cc672878f05c0506837fc9f7c06a7fe3eb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page