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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytowermanager-0.0.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5642143158d5c34d3d699f0a87a357496e6d5b102755525bcc673d46ce953311 |
|
MD5 | ec0bd49309db816ec8e696b5700683e3 |
|
BLAKE2b-256 | af966e0a651347cc5cb569690b9236294217caad199b4e2dd3c91e3241b51486 |
Hashes for pytowermanager-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e767bc4c27ee2b2f3891cd88dad54a59346417f5ce459937f6fb714787a3d9 |
|
MD5 | 1deef965f5a778f287d632a8d541e753 |
|
BLAKE2b-256 | 1aeaf702a95bdac0a937331448c4c603a245e0c897c947045d8bde3dfda0974b |