GithubHelp home page GithubHelp logo

marvil07 / project-x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from droath/project-x

0.0 2.0 0.0 338 KB

Project-X is a development build tool.

License: MIT License

PHP 99.38% Shell 0.62%

project-x's Introduction

Project-X

Build Status

About

When starting a new project, there are many repetive set up tasks that must be done before you're ready to start development. This tool aims to cut down on startup time by automating those setup tasks for you through cli based prompts. It is architected to be pluggable, allowing for extension of the tool to fit your needs.

project-x provides frameworks for the following:

  • Setting up new projects based on pre-configured templates
  • Incorporating engines (aka local development environments) into your code base in order to share them amongst your development team
  • Integrating with hosted version control services like github
  • Setting up testing utilties like behat and php-unit
  • Setting up continuous integratin servers like Probo CI and Travis CI

project-x allows you to choose which of these features you use on your project. If you don't want a particular feature, just say no to the prompt when the time comes. If you decide later that you want to start using a particular feature that wasn't originally configured, you can run through the setup process again and add it in.

Getting Started

  • mkdir my-project && cd my-project
  • composer init
  • composer require --dev droath/project-x
  • ./vendor/bin/project-x init
  • ./vendor/bin/project-x project:setup

Bash alias

If you would like to avoid typing ./vendor/bin/project-x every time you use project-x, you may add the following to your bash_profile:

function project-x()
{
  if [ "`git rev-parse --show-cdup 2> /dev/null`" != "" ]; then
    GIT_ROOT=$(git rev-parse --show-cdup)
  else
    GIT_ROOT="."
  fi

  if [ -f "$GIT_ROOT/vendor/bin/project-x" ]; then
    $GIT_ROOT/vendor/bin/project-x "$@"
  elif [ -f "$GIT_ROOT/../vendor/bin/project-x" ]; then
    $GIT_ROOT/../vendor/bin/project-x "$@"
  else
    echo "You must run this command from within a Project-X project."
    return 1
  fi
}

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.