Skip to content

Commit 7325a84

Browse files
committed
refactor: TT-367 merge branch TT-358
2 parents 1d65c1d + f176589 commit 7325a84

36 files changed

+6156
-174
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ htmlcov/
2323
# virtual environments
2424
.venv
2525

26+
# Dependency directories
27+
node_modules
28+
29+
# Serverless directories
30+
.serverless/
31+
32+
# Azure Functions json config
33+
host.json
34+
local.settings.json
35+
2636
# Files generated for development
2737
.env
2838
timetracker-api-postman-collection.json

V2/.npmignore

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
24+
# nyc test coverage
25+
.nyc_output
26+
27+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
28+
.grunt
29+
30+
# Bower dependency directory (https://bower.io/)
31+
bower_components
32+
33+
# node-waf configuration
34+
.lock-wscript
35+
36+
# Compiled binary addons (https://nodejs.org/api/addons.html)
37+
build/Release
38+
39+
# Dependency directories
40+
node_modules/
41+
jspm_packages/
42+
43+
# TypeScript v1 declaration files
44+
typings/
45+
46+
# Optional npm cache directory
47+
.npm
48+
49+
# Optional eslint cache
50+
.eslintcache
51+
52+
# Optional REPL history
53+
.node_repl_history
54+
55+
# Output of 'npm pack'
56+
*.tgz
57+
58+
# Yarn Integrity file
59+
.yarn-integrity
60+
61+
# dotenv environment variables file
62+
.env
63+
.env.test
64+
65+
# parcel-bundler cache (https://parceljs.org/)
66+
.cache
67+
68+
# next.js build output
69+
.next
70+
71+
# nuxt.js build output
72+
.nuxt
73+
74+
# vuepress build output
75+
.vuepress/dist
76+
77+
# Serverless directories
78+
.serverless/
79+
80+
# Azure Functions json config
81+
host.json
82+
local.settings.json
83+
84+
# FuseBox cache
85+
.fusebox/
86+
87+
# DynamoDB Local files
88+
.dynamodb/
89+
90+
# TypeScript output
91+
dist
92+
out
93+
94+
# Azure Functions artifacts
95+
bin
96+
obj
97+
appsettings.json
98+
local.settings.json
99+
.python_packages/
100+
101+
# Python
102+
__pycache__/
103+
104+
# Virtual Environments
105+
env/
106+
.env/
107+
.venv/

V2/Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
install:
2+
@echo "Installing Time Tracker"
3+
npm install
4+
pip install --upgrade pip
5+
pip install -r requirements.txt
6+
@echo "Completed! "
7+
8+
deploy:
9+
@echo "Using serverless.yml provider config to deploy"
10+
@echo "Deploying Time Tracker to Azure..."
11+
sls deploy
12+
rm -rf .serverless
13+
rm -f host.json
14+
rm -f local.settings.json
15+
@echo "Completed! "

V2/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Azure Functions
2+
3+
Refer to [Serverless docs](https://serverless.com/framework/docs/providers/azure/guide/intro/) for more information.

0 commit comments

Comments
 (0)