Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

OOKB/rg-client-app

 
 

Repository files navigation

rg-client-app

pricelist, summer sale, collection completion and a few other new features for rogersandgoffigon.com.

+++++++++++++++

This is showing off a few things.

  • Gulp
  • Browser Sync
  • Less

Installing the first time.

If you haven't already, install gulp globally npm i gulp -g.

git clone git@github.com:sundaysenergy/client-dev-demo.git
cd client-dev-demo
npm i
gulp

Updating

git pull
npm i
gulp

Update the prod site

Files end up in /srv/www/sites/www.rogersandgoffigon.com/prod

git pull
gulp prod

Data

Used for reference. The future.

Used for current RG data.

  1. http://www.rogersandgoffigon.com/data.json what was used during compile.
  2. https://rg3.cape.io/items.json (aling) env NODE_ENV=production forever start /usr/local/node/cape3
  3. http://v5.rogersandgoffigon.com/index.json (45.33.30.19 cape5) Used for images. cd /srv/node/proxy/source/ && pm2 startOrRestart ecosystem.json --env production && cd /srv/cape5/current && pm2 startOrRestart ecosystem.json --env production && su - ./fw.sh && iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8088
  4. http://social.cape.io/order-track/kb/summer (dong) Used to proxy order-track
  5. https://r_g.cape.io/_login (aling) -> database on ding
  6. http://v5.rogersandgoffigon.com/_routeCache.json?ids=1&rg=1

Restart v5

  • ssh v5
  • cd /srv/node/proxy/source/
  • su -
  • ./fw.sh
  • iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8088

Images

Hosted on b2

About

Rogers and Goffigon (most) site files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 46.5%
  • Less 40.4%
  • HTML 8.6%
  • JavaScript 2.8%
  • Pug 1.6%
  • Dockerfile 0.1%