apc-restful
======

[apeman]: https://github.com/okunishinishi/apeman

[![Build Status](https://travis-ci.org/apeman-apps/apc-restful.png?branch=master)](https://travis-ci.org/apeman-apps/apc-restful) [![PowerdBy](https://raw.githubusercontent.com/okunishinishi/apeman/master/doc/img/apeman-badge.png?v=1)](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 one 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-restful/apiguide).

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

