/node-csv-docs

Website for the csv projects

Primary LanguageHTMLOtherNOASSERTION

Node.js CSV Documentation

This is the source code for the official website of the CSV parser for Node.js hosted at [csv.adaltas.com]. Please submit an issue if you see any typo or possible improvement for the documentation.

Deploy Instructions

git clone https://github.com/adaltas/node-csv-docs.git csv-docs
cd csv-docs
cat /root/.bowerrc
npm install
# Generate the documentation
npm run generate
# Build the container
docker build -t csv-docs .
# Start nginx unless already running
docker run -d -p 91.121.35.92:80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
# Serve the CSV documentation
docker run  -d -p 80 csv-docs
docker rm -f csv-docs
docker run \
  --name csv-docs \
  -d -p 2020:2020 \
  -v `pwd`/Caddyfile:/etc/caddy/Caddyfile  \
  -e VIRTUAL_HOST=csv.adaltas.com \
  csv-docs -conf /etc/caddy/Caddyfile
# Audit
sleep 2 && docker ps && docker logs -f csv-docs