GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - LighthouseBlog/Blog: A simple implementation of a blog in Angular 2+

BranchesTags
Open more actions menu

Latest commit

 

History

264 Commits
264 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
e2e
e2e
 
 
images
images
 
 
scripts
scripts
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
angular.json
angular.json
 
 
deploy.sh
deploy.sh
 
 
deploy_key.pem.enc
deploy_key.pem.enc
 
 
karma.conf.js
karma.conf.js
 
 
ngsw-config.json
ngsw-config.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
protractor.conf.js
protractor.conf.js
 
 
tsconfig.json
tsconfig.json
 
 
tslint.json
tslint.json
 
 

Repository files navigation

Lighthouse Blog

Build Status

Authors

Sam Pastoriza

About

This is my personal blog that documents everything that I have questions about and did not find simple answers to. Every article is supplemented by a github repository belonging to the LighthouseBlog organization that I started and will be maintained.

Blog Topics

At some point, I will complete all or most of these topics

  • Testing all files using jasmine
  • Testing a C# Web application
  • Refactoring an angular application into modules
  • Jasmine mocking prototypes
  • Setting up an backend express server into testable modules
  • Jasmine testing asynchronous functions
  • Generic login application with JWT
    • ExpressJS middleware
    • ReactJS, Angular frontends
  • Holy grail layout and modifications
  • Spring Application with JWT
  • Publishing an npm package, including CI
  • Setting up Webpack for Express (Include Node modules issues)
  • Mastering a web application framework
    • Understand the fundamentals
    • Build a full stack application
    • Build a component
  • Common Layouts (HTML, CSS, flexbox)
  • C# Web API Starter
  • C# Convert HTML to Word
    • Input: An HTML element id
    • Output: A fully formed word document, including images (must be urls though)

Setup

Lets Encrypt

  1. Add both the service and timer to the /etc/systemd/system folder
  2. Run the following commands to get your certificate renewed daily
$ sudo systemctl daemon-reload
$ sudo systemctl start letsencrypt.timer
$ sudo systemctl enable letsencrypt.timer
  1. If you want to view information about the service and timer that you set up (for diagnostics eg)
$ sudo systemctl list-timers
$ sudo journalctl -u letsencrypt
$ sudo journalctl -u letsencrypt --since="yesterday"

Setup a 16.04 server to run this blog

Note: This is a bash script that has been tested minimally. I will update it as needed.

  1. Run the script called setup.10.04.sh

  2. The following programs should be installed

    • Redis (run as a service)
    • Mongo (run as a service)
    • Nginx
    • NVM
    • NPM (Forever to run the blog)
    • Certbot
  3. To complete the installation, the following must be done

    • Setup the service files for redis and mongo (See the articles referenced in the script)
    • Add the nginx file provided in this project to the sites-enabled folder (See this tutorial). Disregard the section about creating the certificate. Replace there location of that certificate with the one created by certbot.
    • Using the certbot tools, create a certificate for your url (See the article referenced in the script)

About

A simple implementation of a blog in Angular 2+

Topics

angular2blog

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.