Giter VIP home page Giter VIP logo

kirby-vagrant's Introduction

kirby-vagrant

VagrantFile and provisioning for a local development environment

What this is.

These files, in combination with Virtualbox and Vagrant will allow you to run a local development environment that updates in realtime and provides a good framework for a basic Kirby server running on Ubuntu.

What this is not.

This is not a complete setup for running Kirby in production, although the configuration could be easily extended for that.

At a minimum you'd want to:

  • Enable SSL in nginx and redirect all web requests to the secure site.
  • Run ufw to block all other ports.

How to use

Just copy these files into the root of your vagrant project.

If you don't commit your /site/accounts directory and you have multiple developers and would like to provide them all with login accounts, create them in the panel or with kirby cli and copy them to /util/accounts. They'll get copied into place when people setup their systems with vagrant up.

Step by step:

  1. Install Virtualbox
  2. Install Vagrant
  3. run vagrant up

After some churning and blinking lights you should see "you can now load the test site"

At that point, the site should be available at http://192.168.73.13.

If you don't like that IP, change it in the Vagrantfile. If you would rather use a name, just make a DNS entry for local.$mycompany that points to 192.168.73.13 or add an entry to your /etc/hosts.

You can use http://192.168.73.13/util/info.php to see the details about your system.

The PHP Debugger is already configured, it should 'just work' with most IDE's.

If you have an idea for an improvement, Pull Requests are gladly accepted.

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.