Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: TT-358 Add Makefile to install time tracker backend
  • Loading branch information
Andrés Soto committed Oct 20, 2021
commit f1765895e08300eb3792407b6438274f51bafd34
9 changes: 8 additions & 1 deletion V2/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
install:
@echo "Installing Time Tracker"
npm install
pip install --upgrade pip
pip install -r requirements.txt
@echo "Completed! "

deploy:
@echo "Using serverles.yml provider config to deploy"
@echo "Using serverless.yml provider config to deploy"
@echo "Deploying Time Tracker to Azure..."
sls deploy
rm -rf .serverless
Expand Down
2 changes: 1 addition & 1 deletion V2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions V2/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "azure-time-tracker",
"name": "time-tracker-backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"preinstall": "npm install -g serverless"
},
"author": "",
"license": "ISC",
Expand Down
12 changes: 11 additions & 1 deletion V2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
#Azure
azure.functions
azure-functions-worker
azure-functions-worker

# Tests
pytest

# Mocking
pytest-mock

# To create sample content in tests and API documentation
Faker==4.0.2