apc-static
======

[![Build Status](https://travis-ci.org/apeman-apps/apc-static.png?branch=master)](https://travis-ci.org/apeman-apps/apc-static) [![Code Climate](https://codeclimate.com/github/apeman-apps/apc-static.png)](https://codeclimate.com/github/apeman-apps/apc-static)

An apeman core app. Web app to serve static files. A heir of apc-abstract-heir.

Powered by [apeman](https://github.com/okunishinishi/apeman)


Requirements
------

+ [Node.js](http://nodejs.org/)


Install
------
Install apeman npm module with global option to use apeman commands.

```bash
$ npm install apeman -g
```

After that, some npm modules with apeman install task.

```bash
$ ./bin/install
```

You may have following error when run install.

```bash
ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/jquery/jquery.git", exit code of #128
```

This is because you have not registered a ssh key at github.
Register ssh key or change git config to use https instead of ssh.

```bash
git config --global url."https://".insteadOf git://
```



Build app
------
To make the app runnable, run build command.
This will a lot of works like compiling, structuring, cleaning, .etc.

```bash
$ ./bin/build
```

This is equivalant to "apeman task build" command.

Test
----

```bash
$ ./bin/test
```


Other tasks
----
In addition to the install, build, test task, there are a lot of tasks defined here.
To see then, type apeman task command without argument.

```bash
$ apeman task  #shows available tasks
```

API
-----
See [API Documentation](http://apeman-apps.github.io/apc-static/apiguide).

Repository
-----
[Repository at github](https://github.com/apeman-apps/apc-static)

