generated from svdarren/functions-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 425e75c
Showing
6 changed files
with
8,856 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Compiled source # | ||
################### | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Packages # | ||
############ | ||
# it's better to unpack these files and commit the raw source | ||
# git has its own built in compression methods | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
*.sqlite | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
# React files # | ||
############### | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
|
||
# Dev tools # | ||
############# | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM gitpod/workspace-full | ||
|
||
USER gitpod | ||
|
||
# Install custom tools, runtime, etc. using apt-get | ||
# For example, the command below would install "bastet" - a command line tetris clone: | ||
# | ||
# RUN sudo apt-get -q update && \ | ||
# sudo apt-get install -yq bastet && \ | ||
# sudo rm -rf /var/lib/apt/lists/* | ||
# | ||
# More information: https://www.gitpod.io/docs/42_config_docker/ | ||
RUN npm update -g | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/43_config_ports/ | ||
ports: | ||
- port: 8888 # default init was 3000 | ||
onOpen: open-browser | ||
- port: 3999 | ||
onOpen: ignore | ||
|
||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a check to pull requests (defaults to true) | ||
addCheck: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
addComment: true | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
addBadge: true | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: true | ||
|
||
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/44_config_start_tasks/ | ||
tasks: | ||
- command: git config --global user.email $GIT_COMMITTER_EMAIL | ||
#- init: npm update -g && npm install netlify-cli -g && npm install netlify-lambda -g && npm install # runs during prebuild | ||
- init: npm install # runs during prebuild | ||
command: npm start | ||
# - command: echo "Hello, World!"" # commands aren't processing while server is running |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# functions-template | ||
Template repo for making AWS Lambda functions, hosted using Netlify. | ||
|
||
Go to the [GitHub wiki](https://github.com/svdarren/functions-template/wiki) for more background. | ||
|
Oops, something went wrong.