Skip to content

A CapRover starting point to deploy PY4WEB amazing Web Apps and API's.

License

Notifications You must be signed in to change notification settings

carlosarmentac/py4web-caprover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is py4web-caprover?

It's a CapRover starting point to deploy PY4WEB amazing Web Apps and API's.

PY4WEB is a web framework for rapid development of efficient database driven web applications. It is an evolution of the popular web2py framework but much faster and slicker.

Read more about PY4WEB here...

  • 🔥 Fire 🔥

Features

  • Web Dashboard (admin)
  • Documentation
  • So many example Apps

Installation

Deploy using Caprover

Caprover is a tool that turns your personal VPS into a Platform as a Service comparable to dokku or Heroku.

  1. Get started with Caprover on your VPS and your CLI

  2. Create a new app named flask (or anything else you like) in the Caprover interface

  3. Inside the HTTP Settings section of the new app enable HTTPS and select Force HTTPS by redirecting all HTTP traffic to HTTPS

  4. On your local machine, clone this repository and cd into it git clone https://github.com/carlosarmentac/py4web-caprover.git && cd py4web-caprover

  5. Provide a PY4WEB dashboard Password: Edit "Dockerfile" file and change line 6:

    ARG password=none
    
  6. Need aditional Python libraries? Add it in "requirements.txt" file:

    psycopg2-binary
    # These libraries are required to be in "requirements.txt" file.
    # Other extra libraries like "mysql" or "requests"  must be added manually depending on your needs.
    
  7. Run caprover deploy and select your server and the app you just created

This repo is based on https://github.com/prakasharyaman/Flask-Api.git Thank You @prakasharyaman!

About

A CapRover starting point to deploy PY4WEB amazing Web Apps and API's.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published