Skip to content

Commit

Permalink
RC3
Browse files Browse the repository at this point in the history
  • Loading branch information
botmtl committed Sep 7, 2017
1 parent c6eb49a commit ea6327a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
2 changes: 2 additions & 0 deletions DeleteCache.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd /d D:\home\site\wwwroot\cache
rd /s /q .
19 changes: 18 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@

[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)
[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://azuredeploy.net/)

# READ THIS before you deploy
If you are having issues with DEPLOYEMENT, file a [ISSUE here, on github](https://github.com/botmtl/ttrss-azure-deployment/issues). DO NOT use the Tiny-Tiny RSS discussion board for deployement issues.

Initial username and password are admin/password. Change that ASAP.

This Tiny-Tiny RSS deployement is made on an UNSUPORTED PLATFORM. If you are having issues with Tiny-Tiny RSS, DO NOT post in the main forum, use the [UNSUPPORTED-PLATFORMS](https://discourse.tt-rss.org/c/tiny-tiny-rss/unsupported-platforms/) section of the forum. Clearly state the platform you are using (IIS/mysql) and your provider (Azure) and the the issue you are having. If you are unsure, create an [issue here](https://github.com/botmtl/ttrss-azure-deployment/issues) first and I will tell you if this needs the tt-rss forum or not.

# How is this deployement different than the [BITNAMI deployement](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/bitnami.tinytinyrss?tab=Overview)?
- This deployement does not create or use a (costly) virtual machine.

# Free?
- This deployement uses a standard Web-App with a Mysql-In-App database.
- Feed updates are scheduled with the WebJobs module ("0 */4 * * *")
- These Azure modules are free to use (this project can be deployed on a student [Microsoft Imagine](https://imagine.microsoft.com/) subscription).
- Usual restrictions apply (1Tb disk space and you can't abuse your free default vm without it disabling itself until the end of the month).

20 changes: 15 additions & 5 deletions deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ copy d:\home\site\repository\config.php d:\home\site\wwwroot

REM deploy database
mkdir d:\home\site\deployments\tools\PostDeploymentActions
copy InitializeDatabase.cmd d:\home\site\deployments\tools\PostDeploymentActions
copy d:\home\site\repository\InitializeDatabase.cmd d:\home\site\deployments\tools\PostDeploymentActions

REM Jobs
mkdir d:\home\site\wwwroot\app_data\jobs\continuous\updateFeeds
copy d:\home\site\repository\updateFeeds.cmd d:\home\site\wwwroot\app_data\jobs\continuous\updateFeeds\updateFeeds.cmd
copy d:\home\site\repository\settings.job d:\home\site\wwwroot\app_data\jobs\continuous\updateFeeds\settings.job

mkdir d:\home\site\wwwroot\app_data\jobs\triggered\DeleteCache
copy d:\home\site\repository\DeleteCache.cmd d:\home\site\wwwroot\app_data\jobs\triggered\DeleteCache\DeleteCache.cmd

mkdir d:\home\site\wwwroot\app_data\jobs\triggered\forceUpdateFeeds
copy d:\home\site\repository\forceUpdateFeeds.cmd d:\home\site\wwwroot\app_data\jobs\triggered\forceUpdateFeeds\forceUpdateFeeds.cmd

mkdir d:\home\site\wwwroot\app_data\jobs\triggered\resetDatabase
copy d:\home\site\repository\InitializeDatabase.cmd d:\home\site\wwwroot\app_data\jobs\triggered\resetDatabase\resetDatabase.cmd

REM d:\home\site\wwwroot\app_data\jobs\triggered\updateFeeds
mkdir d:\home\site\wwwroot\app_data\jobs\triggered\updateFeeds
copy d:\home\site\repository\updateFeeds.cmd d:\home\site\wwwroot\app_data\jobs\triggered\updateFeeds\updateFeeds.cmd
copy d:\home\site\repository\settings.job d:\home\site\wwwroot\app_data\jobs\triggered\updateFeeds\settings.job
4 changes: 4 additions & 0 deletions forceUpdateFeeds.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
REM Wake up site
"D:\Program Files (x86)\Git\usr\bin\curl.exe" %WEBSITE_HOSTNAME% > nul
REM Update Feeds
"D:\Program Files (x86)\PHP\v7.0\php.exe" "D:\home\site\wwwroot\update.php" --feeds --force-update
2 changes: 1 addition & 1 deletion updateFeeds.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REM Wake up site
"D:\Program Files (x86)\Git\usr\bin\curl.exe" %WEBSITE_HOSTNAME% > nul
REM Update Feeds
"D:\Program Files (x86)\PHP\v7.0\php.exe" "D:\home\site\wwwroot\update.php" --feeds
"D:\Program Files (x86)\PHP\v7.0\php.exe" "D:\home\site\wwwroot\update.php" --feeds

0 comments on commit ea6327a

Please sign in to comment.