Skip to content

serverlessjs.io framework for deploying aws s3 bucket hosted websites

Notifications You must be signed in to change notification settings

StabilityFocus/serverlessjs.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverlessjs.io

Includes

  • PureJS FrontEnd on ServerLess S3 bucket with CloudFront
  • local dev/ debug tools
  • build tools: ** obfuscation ** minification

Requirements

  • node
  • npm
  • yarn
  • aws cli (pip3 python)

Advantages

  • Designed to be a lite weight, low cost (tco), secure, decoupled front end with minimum requirements.
  • Easy to install
  • Build, deploy & forget
  • Single Page Application
  • Pure JavaScript FrontEnd
  • AJAX Fetch
  • Live Refresh
  • Twitter Bootstrap CSS compatable
  • Open Source

INSTALLATION ::

	# Download repo
	git clone git@github.com:StabilityFocus/serverlessjs.io.git

	# Rename your project, example:
	mv serverlessjs.io thatsawesome.org
	cd thatsawesome.org

	# Customize conf file
	cp -vpr build.conf.template build.conf		# copy config file template
	vim build.conf 					# edit config file
	# :%s/serverlessjs/public-thatsawesome/gc	# ex: replace CHANGE ME variables

	# Setup
	./setup.sh					# run the installer

BUILD ::

	# VALIDATE build.conf, then when you are ready, run:
	./build.sh

START & CUSTOMIZE ::

	# index-advanced-example.html -> index.html
	# To start from an advanced example, run:
		cp -vpr index-advanced-example.html index.html
		./build.sh


	# index-minimum-example.html -> index.html
	# To start from a simplistic minimum template, run:
		cp -vpr index-minimum-example.html index.html
		./build.sh

Rinse & Repeat

	# Edit your site code, and re run build.sh
	vim index.html
	./build.sh

Develop & Debug

setDevindex.sh 
debugHTTPSERVER.sh
cat build.log

Motivation

Working Examples

Credits

About

serverlessjs.io framework for deploying aws s3 bucket hosted websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published