Spork is very much in the early stages of development, so please tread carefully, here be dragons and disorder.
npm install spork-cli
Spork has its own cli-interface. To create a new project, just call
spork create [your-project-name] <path> from the command line, i.e:
spork create myNewSpork projects/sporks/
If you do get stuck, you can always just call call for help, i.e:
or you can call
spork [command] --help
for a more specfic help section about that particular command.
Spork uses bower to manage its dependencies. It will run a check to see if bower is installed and install it for you, but git needs to be set up properly on you machine. Please ensure that this is done before running spork, as it will fail when you try to create a new project if git is not accessible from the command-line. For more info about bower's requirements, please see the Bower Documentation. You can also download Git for Windows manually here.
Simply clone the repo and run the build script from your Terminal (OSX+ Linux Only)
NOTE: You may have to change the file permissions to make the build file executable
Alternatively you can manually install everything with npm and bower:
npm installbower install
The spork-cli has a wrapper for the grunt serve task, because typing the word
spork is fun!
To start serving your project simply use the spork-cli, i.e:
Your default browser should automatically open a new tab and serve the project for you, with livereload to reload after any changes are made.
Or if you prefer the boring, old fashioned way:
The Spork project page was created using Spork. See it in action here.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.