Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

redhataccess/git2pantheon

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git2Pantheon is a set of REST API that facilitates uploading of git repo containing modular document to Pantheon.

Requirements

  1. Python 3
  2. Pip 3
  3. Redis server running locally

Setting up your development environment

  1. Clone the fork of this repo.
git clone YOUR_FORK_OF_THIS_REPO
  1. Change directory to the cloned repo.
cd git2pantheon
  1. Create and activate a virtual environment.
python3 -m venv venv
source venv/bin/activate
  1. Install the requirements.
pip3 install .
  1. Set and export the following environment variables
    a. PANTHEON_SERVER
    b. UPLOADER_PASSWORD
    c. UPLOADER_USER
    d. REDIS_SERVICE

  2. Set the app name for flask run command

export FLASK_APP=git2pantheon
  1. Run the service.
flask run
  1. The swagger docs can be found at:
    http://localhost:5000/apidocs/

Note: Please don't try to run cache clear API

About

Git2Pantheon is a set of REST API that facilitates uploading of git repo containing modular document to Pantheon.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.