From 96a96a0d92ecbf77a3de4bf1e0c3387ee8524921 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Sun, 8 Jul 2018 18:08:49 -0400 Subject: [PATCH] Updated the readme to include accurate node dependencies information. --- README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1174b37..66654ca 100644 --- a/README.md +++ b/README.md @@ -5,24 +5,11 @@ with all the asynchronous calls when trying to create a web page in a linear fas If you want to run this project, it requires Mysql, npm, and node to be installed. For deployment I used a [Nginx](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04) -proxy. +proxy to expose the node application running on port 8000 to port 80. This proxy is necessary +because you can't run a node application as port 80 unless you are root, which would be a +security vulnerability. -## Color scheme - -[Adobe Color Wheel](https://color.adobe.com/create/color-wheel/?copy=true&base=2&rule=Custom&selected=3&name=Copy%20of%20Site&mode=rgb&rgbvalues=0.231,0.325499999999957,0.42,0,0.7450980392156863,0.6980392156862745,0.10196078431372549,0.36470588235294116,0.38823529411764707,0.8235294117647058,0.7529411764705882,1,0.3165071770335184,0.24148325358851674,0.49&swatchOrder=0,1,2,3,4) - -Blue: -- Primary: #3B536B -- Secondary: #00BEB2 - -Purple: -- Primary: #513E7D -- Secondary: #D2C0FF - - -006688 - ## MYSQL Information ![](blogSql.svg) @@ -62,7 +49,7 @@ primary key(post_id) create table downloads( download_id mediumint unsigned not null AUTO_INCREMENT, file varchar(40) not null, -name varchar(20) not null, +name varchar(40) not null, download_count mediumint not null, primary key(download_id) ); @@ -86,7 +73,20 @@ npm install sanitizer npm install promise npm install highlight npm install crypto -npm install express-force-ssl npm install remarkable +npm install markdown +npm install highlight.js ``` + +## Color scheme + +[Adobe Color Wheel](https://color.adobe.com/create/color-wheel/?copy=true&base=2&rule=Custom&selected=3&name=Copy%20of%20Site&mode=rgb&rgbvalues=0.231,0.325499999999957,0.42,0,0.7450980392156863,0.6980392156862745,0.10196078431372549,0.36470588235294116,0.38823529411764707,0.8235294117647058,0.7529411764705882,1,0.3165071770335184,0.24148325358851674,0.49&swatchOrder=0,1,2,3,4) + +Blue: +- Primary: #3B536B +- Secondary: #00BEB2 + +Purple: +- Primary: #513E7D +- Secondary: #D2C0FF