Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure hosting support and a handful for other tweaks #3

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
416f4de
add a devcontainer
bpkroth Jan 20, 2023
01a70db
tweaks to editorconfig
bpkroth Jan 20, 2023
5f3682c
be consistent and use python 3.8 like the heroku config says
bpkroth Jan 20, 2023
5295517
add proxy caching support
bpkroth Jan 20, 2023
72ad3a6
make some shebang paths work
bpkroth Jan 20, 2023
fdc6b97
add support for an environment file
bpkroth Jan 20, 2023
db0829b
quick hack to make the pinned flask version work with old dependencies
bpkroth Jan 20, 2023
cdfc60c
reformat json
bpkroth Jan 20, 2023
189584c
add support for some basic authentication before allowing to create n…
bpkroth Jan 20, 2023
9dff8ef
add support for a default db - useful for local debugging
bpkroth Jan 20, 2023
7f1318c
create a default for when max user count isn't specified
bpkroth Jan 20, 2023
5090d44
add support for listing and deleting users
bpkroth Jan 20, 2023
e51e491
add support for flask reading configs from a local .flaskenv or .env …
bpkroth Jan 20, 2023
9530b1a
in the absence of FLASK_APP env, use app.py symlink to run server.py
bpkroth Jan 20, 2023
09c86ca
add some basic flake8 formatting rules
bpkroth Jan 20, 2023
2c59c7e
ignore more cache files
bpkroth Jan 20, 2023
1c1aa69
reformat markdown to fix linting and add a toc
bpkroth Jan 20, 2023
8529411
update readme with azure instructions: wip
bpkroth Jan 22, 2023
69d5861
add flake8 to the devcontainer
bpkroth Jan 22, 2023
f24d763
add a github action workflow for updating the deployment on push
bpkroth Jan 22, 2023
4494f8e
fixup
bpkroth Jan 22, 2023
793adec
fixup
bpkroth Jan 22, 2023
fc9b503
fixups
bpkroth Jan 22, 2023
771876e
tweaks
bpkroth Jan 22, 2023
a37b456
tweak
bpkroth Jan 22, 2023
877b359
tweaks
bpkroth Jan 22, 2023
4fd66e8
fixup shebang for azure env
bpkroth Jan 22, 2023
32af9da
update and refreeze pip requirements
bpkroth Jan 23, 2023
b4e39b0
include psql in devcontainer
bpkroth Jan 23, 2023
c57cd3e
tweaks to instructions for Azure
bpkroth Jan 23, 2023
cec00d7
one more
bpkroth Jan 23, 2023
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
reformat json
  • Loading branch information
bpkroth committed Jan 20, 2023
commit cdfc60ccaeed273002dbfffbebd4c7b868d848ae
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -30,3 +30,7 @@ end_of_line = lf
[{*.yml,*.yaml}]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2
54 changes: 29 additions & 25 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
{
"name": "Podcast Sync for Garmin Server",
"description": "Server component for Podcast Connect IQ application.",
"repository": "https://gitlab.com/ravenfeld/server-podcastsyncgarmin",
"logo": "https://www8.garmin.com/HiRes/logos/GarminLogo.jpg",
"keywords": ["garmin", "podcast", "connectiq"],
"addons": [
{
"plan": "heroku-postgresql"
}
],
"success_url": "/",
"env": {
"NUMBER_MAX_USER": {
"description": "Maximum number of users using the application ?",
"value": "1"
},
"PODCASTING_INDEX_KEY": {
"description": "API KEY for podcast search. https://api.podcastindex.org/",
"required":"false"
},
"PODCASTING_INDEX_SECRET": {
"description": "API SECRET for podcast search. https://api.podcastindex.org/",
"required":"false"
}
}
"name": "Podcast Sync for Garmin Server",
"description": "Server component for Podcast Connect IQ application.",
"repository": "https://gitlab.com/ravenfeld/server-podcastsyncgarmin",
"logo": "https://www8.garmin.com/HiRes/logos/GarminLogo.jpg",
"keywords": [
"garmin",
"podcast",
"connectiq"
],
"addons": [
{
"plan": "heroku-postgresql"
}
],
"success_url": "/",
"env": {
"NUMBER_MAX_USER": {
"description": "Maximum number of users using the application ?",
"value": "1"
},
"PODCASTING_INDEX_KEY": {
"description": "API KEY for podcast search. https://api.podcastindex.org/",
"required": "false"
},
"PODCASTING_INDEX_SECRET": {
"description": "API SECRET for podcast search. https://api.podcastindex.org/",
"required": "false"
}
}
}