GithubHelp home page GithubHelp logo

nikhil-2002 / gitpress Goto Github PK

View Code? Open in Web Editor NEW

This project forked from naveen17797/gitpress

0.0 1.0 0.0 1.51 MB

Run your WP site on github pages, php innovation award winner https://www.phpclasses.org/package/12091-PHP-Make-a-WordPress-site-run-on-GitHub-pages.html

Home Page: https://naveen17797.github.io/gitpress

JavaScript 4.59% PHP 93.36% CSS 2.04%

gitpress's Introduction

Gitpress

Run wordpress directly on github pages

Gitpress won the innovation award for may 2021

Read more about this https://naveen17797.github.io/gitpress-won-the-php-innovation-award/

Want to see live demo ?

Go to my github pages site at https://naveen17797.github.io/

What does this repo do ?

This helps to host your wordpress site in github pages

How does it do it ?

  1. It runs wordpress on your local docker container
  2. It generates static files with the help of the plugin simply static written by Patrick Posner
  3. It pushes all the static files to your github pages

How can i install ?

  1. Clone the repo.
  2. Run docker-compose up
  3. Open http://localhost, set up your wordpress site
  4. Add your github username and password ( or token )
  5. Click on sync site on the top admin bar, thats it. 2021-05-24_05-58
  6. Now do that every time when you want to sync your local site to github pages.

I want to backup my database

  1. Stop the db container
  2. Run docker-compose stop db
  3. Run docker-compose run --rm db-backup
  4. This will backup your database to backup folder.

I want to restore my backup

  1. Run docker-compose run --rm db-restore
  2. This will restore your backup.

Can i use it in my production environment ?

No

gitpress's People

Contributors

naveen17797 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.