ChrisTitusTech / website

My HUGO Website that I use for Videos, Blogs, and Redirects
75 stars 44 forks source link

Security #2

Closed dclay1983 closed 3 years ago

dclay1983 commented 4 years ago

Hey Chris, I got the update that you have this repo, and decided to see how you were coming along with it. A few key things about your initial commit.

Hope this helps and have a great day!!!

ChrisTitusTech commented 4 years ago

Thank you David! Still a noob when it comes to netlify and using github. Learning but still very rough around the edges. Appreciate you giving me a heads up and feedback.

On Mon, Jun 29, 2020 at 11:21 AM David Clay notifications@github.com wrote:

Hey Chris, I got the update that you have this repo, and decided to see how you were coming along with it. A few key things about your initial commit.

  • Security:
    • Create a .gitignore and add your .env as well as node_modules folder to that.
    • Change all the variables in your .env as those are now visible to the world and can be exploited.
  • NPM:
    • Do a npm init so that you have an easy way to deploy and install your npm packages in any environment.
    • Commit the package.json and package-lock.json to your commits.

Hope this helps and have a great day!!!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4HYJP4WE54NMSDBJ7G4QLRZC5QLANCNFSM4OLMC44Q .

ChrisTitusTech commented 3 years ago

Dumped old mainroad theme and started using .gitignore and hiding environment vars