Code Monkey home page Code Monkey logo

phpci-installer's Introduction

PHPCI Installer

Software License

PHPCI Installer for Laravel Homestead. Simple shell script that automatically installs the PHPCI with no user interaction required on a Laravel Homestead box.

Pre-Requisites

Important!

The script drops the phpci database if it already exists and creates a new one. So if you already have a database with such name, make sure to either rename it or change the database name by forking this repo before installation.

Installation

1. SSH into your Laravel Homestead Box (homestead ssh) and cd into Code/Projects Directory.

2. If you're fine with the default config and don't want to make any changes, Just fire the following command & jump to step 3:

$ curl -sSL http://lk.gd/phpci-install | bash

(Optional) Custom Config: If you'd like to use custom config, pass the following arguments with appropriate values:

-s <domain> <admin_email> <admin_password> <custom_phpci_dirname>

All the above arguments are optional, you can set all or the each of the ones you want in same order.

Example:

$ curl -sSL http://lk.gd/phpci-install | bash -s phpci.vm [email protected] 123456 phpci

3. Open the /etc/hosts file on your main machine and add 192.168.10.10 phpci.app where 192.168.10.10 is the default IP of your homestead box and phpci.app is the default domain to access PHPCI or the one you passed in step 2 otherwise.

4. Go to http://phpci.app and Login into the panel using the login credentials shown at the end of the installation or the default.

5. (Optional) You can follow the PHPCI wiki for other configurations.

Default Config

  1. Default directory - phpci
  2. Default domain - phpci.app
  3. Database - Creates phpci database and uses homestead user with default password.
  4. Admin Email: [email protected]
  5. Admin Password: secret

Note: The script uses the standard homestead create-mysql.sh script to create the database.

Additional information

Any issues, please report here

Inspired to create this script by this tutorial by Mike Bronner

Contributions

Contributions are welcome, Please create a PR.

License

MIT © Syed Irfaq R.

phpci-installer's People

Contributors

irazasyed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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