Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.27 KB

CUSTOMISE.md

File metadata and controls

48 lines (35 loc) · 1.27 KB

Fork

git clone [email protected]:awslabs/aws-serverless-express.git express

git remote rename origin upstream

git remote add origin [email protected]:aws/aws-serverless-express.git

# commit

git push

git pull upstream master
or 
git fetch --all

Customised example configuration for SV use

The following config has been customised

express/examples/basic-starter/scripts/configure.js
express/examples/basic-starter/cloudformation.yaml
express/examples/basic-starter/simple-proxy-api.yaml
express/examples/basic-starter/package.json

Update the express src from express-ts

cd examples/basic-starter/

curl -vL https://api.github.com/repos/SpatialVision/express-ts-template/tarball/develop | \
tar xfz - && DIR=`ls |grep SpatialVision` && cp -R $DIR/src .; mv $DIR/package.json ./package-express-ts.json; rm -fr $DIR

# Now manually run diff on packagel.json and package-express-ts.json and ensure you get dependencies and devDependencies updated

Create a project based on the example

  • Create your new project Dev/new-project in svgitlab
  • Clone & cd
  • Run the following command
  • Read the README.md
git archive [email protected]:aws/aws-serverless-express.git \
HEAD:examples/basic-starter | tar xf -