Pages

Showing posts with label Onion2. Show all posts
Showing posts with label Onion2. Show all posts

Saturday, November 25, 2017

Waryway Website built on Aurelia hosted locally on Omega Onion2!

Announcement

I have deployed the new Waryway website FrontEnd based on Aurelia. This website is currently hosted on a dynamic ip address,with an Omega Onion as the server.

My main goal in this endeavor has been a 'hobby' website running with minimal power consumption. I had previously hosted websites on a full desktop computer (600w powersupply). This desktop running 24/7 had a marked spike in my energy bills after I got it running. I'm happy to report the omega onion is a much smaller footprint. 

I've had good uptime on a static PHP website hosted with reactphp - but I've decided to redesign the frontend/backend architecture. The new approach is an entirely Aurelia frontend with Microservices written in PHP, using reactPHP

The website itself is my initial Aurelia implementation - I have yet to link it to a microservice. Look to that in a following post.

Specifications:


  • Omega Onion2 
    • Nodejs
      • http-server
    • screen
  • Windows 10 'build' machine
    • Aurelia
    • Waryway\Frontend
    • au build for production
    • winscp for deployment

Deployment:

  1. Followed Aurelia's build instructions
  2. copied The scripts, bootstrap, and index.html files to the omega
  3. Started the http-server in screen
  4. Checked on an external network
  5. Profit!