https://github.com/syncano/nodejs-codebox
https://github.com/syncano/nodejs-codebox
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/syncano/nodejs-codebox
- Owner: Syncano
- Created: 2015-02-27T15:34:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T16:25:49.000Z (almost 8 years ago)
- Last Synced: 2025-03-25T10:21:25.666Z (9 months ago)
- Language: Shell
- Size: 101 KB
- Stars: 8
- Watchers: 14
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-codebox
This repository contains Dockerfile for Node 5.0.0 image with built-in support for Syncano, selected JS libraries and Node machines.
You can build the image yourself (requires Python packages: [requests](http://docs.python-requests.org/en/latest/), [jinja2](http://jinja.pocoo.org/docs/dev/) and connection to the Internet):
```
$ ./generate_package_json.py
$ ./create_nodejs_image.sh
```
or pull it from Docker registry:
```
$ docker pull quay.io/syncano/nodejs-codebox
```
Then you can run Docker container:
```
$ docker run -it quay.io/syncano/nodejs-codebox
>
```
In a container you can use Syncano's JS Library:
```
var Syncano = require("syncano");
```
More info about the library can be found [here](https://github.com/Syncano/syncano-js-lib).
# Adding Packages
To add a package, please create a Pull Request a custom branch into `master` after adding the package with a specific version number to these files [(nodejs/files/package.json.v10)](https://github.com/Syncano/nodejs-codebox/blob/master/nodejs/files/package.json.v10) and [(nodejs/files/package.json.j2)](https://github.com/Syncano/nodejs-codebox/blob/master/nodejs/files/package.json.j2)