Giter Club home page Giter Club logo

wp-ngrok's Introduction

wp-ngrok

Setup ngrok instantly at VCCW.

Settings

Install ngrok by Homebrew.

$ brew cask install ngrok

Usage

Please run the follwoing command in the directory where your Vagrantfile is located.

$ git clone https://github.com/naogify/wp-ngrok.git
$ bash wp-ngrok.sh

It will ask you to type your development url.ใ€€So, please type it. Then it will publish temporary url that anyone can access. You can easily unpublish the url by closing the terminal.

Please check https://ngrok.com/docs to get more information about ngrok.

NOTE

This shell script will install relative-url pluguin to replace WordPres's absolute url to relative url. Then it changes WP_SITEURL & WP_HOME to http://'.$_SERVER['HTTP_HOST'] by modifying wp-config.php ( This wp-config.php is the one at the same directory where Vagrantfile is located ).

So, please Don't forget to remove relative-url plugin when you move the WordPress from develop environment to your production environment,

wp-ngrok's People

Contributors

naogify 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.