Skip to content

Instantly share code, notes, and snippets.

Avatar
📚
Working on translate module for Angular

Alex Chugaev avchugaev

📚
Working on translate module for Angular
  • IT SmartFlex
  • Kyiv, Ukraine
View GitHub Profile
@bradwestfall
bradwestfall / S3-Static-Sites.md
Last active May 17, 2021
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.
View S3-Static-Sites.md

S3 Static Sites

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation

Resources

@Maumagnaguagno
Maumagnaguagno / .travis.yml
Last active Feb 18, 2020
Make Travis-CI push files to other repositories for you when tests pass
View .travis.yml
language: ruby
rvm:
- 2.0.0
env:
global:
- USER="username"
- EMAIL="username@mail.com"
- REPO="name of target repo"
- FILES="README.md foo.txt bar.txt"
- GH_REPO="github.com/${USER}/${REPO}.git"
@phillipgreenii
phillipgreenii / README.md
Last active Dec 28, 2020
Running NPM Scripts through maven
View README.md

I am in the process of introducing single page applications to where I work. For development, using node based build tools is much easier for the single page applications. However, the build process for our organization is based upon maven. Our solution started with the maven plugin frontend-maven-plugin. It worked great at first, but then we ran into a situation that I couldn't make work with it.

As stated before, at our organization, we have the older ecosystem which is maven and the newer ecosystem which is node. Our goal was to keep the hacking to a minimum. We did this by putting all of the hacks into a single super node based build file. This is what maven calls and the reason frontend-maven-plugin wasn't sufficient. The super node based build script calls all of the other build scripts by spawning npm run. Try as I might, I could not figure out how to make the spawn work. front-end-maven-plugin downloads npm