Giter VIP home page Giter VIP logo

deploy-wp-on-vps's People

Contributors

bjornjohansen avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

deploy-wp-on-vps's Issues

$PATH is expanded in .bash_profile

In the generated .bash_profile, the string $PATH is expanded to whatever the $PATH is at generation time. The actual variable should be used instead.

Varnish configuration

Varnish configuration is completely missing. Also, Nginx should be configured accordingly.

Install with curl [url] | bash

The elegant way of installing would be:
curl https://raw2.github.com/bjornjohansen/deploy-wp-on-vps/master/deploy.sh | bash

โ€ฆ but that currently makes the script skip the first read statement and produce an error like this:
bash: line 26: syntax error near unexpected token fi'
bash: line 26: fi'
skjermbilde 2014-01-17 kl 13 14 26

Add HTTPS to config

Let the user choose to configure HTTPS during install (and whether all HTTP requests should be redirected to HTTPS).

Create self-signed cert, but display the CSR at the end of installation and further instructions on what to do.

Add error checking

If a process returns with exit code other than 0, we should halt the script (and probably prompt the user whether we should continue or not).

Remove 12.04 dependency

The only (?) reason the script only works on Ubuntu 12.04 is because the official Varnish repo only supports LTS versions. We can use a PPA (src in comment in code already) if on a non-LTS.

Check for public key

Make sure the user's public key is in place before locking down the server. Prompt the user to enter the pubkey if not in place.

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.