OOKB / rg-client-app

Rogers and Goffigon (most) site files.
0 stars 1 forks source link

rg-client-app

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

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

This is showing off a few things.

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

Images

Hosted on b2