Skip to content

Commit

Permalink
Updating build process
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoles committed Aug 2, 2017
1 parent e302d39 commit f14949e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ Once VizAlerts is installed and running, all of the work to build and manage you

## Got any documentation?

Do we ever! There are two files included in the root folder, install_guide.docx and user_guide.docx, intended for Tableau Server administrators and for alert authors, respectively. They're the best way to learn about what VizAlerts can do.
Do we ever! There are two files included in the \docs folder, [install_guide.md](docs/install_guide.md) and [user_guide.md](docs/user_guide.md), intended for Tableau Server administrators and for alert authors, respectively. They're the best way to learn about what VizAlerts can do.

If you're an impatient Millenial like me, here's a [video](https://www.youtube.com/watch?v=NQW3w64cXiU&t=22s) that skims the very basics.

## How do I set it up?

Please see install_guide.docx for installation instructions. Only the Tableau Server administrator needs to set it up. Once working, any user on Tableau Server who can publish may use VizAlerts.
Please see the [Install Guide](docs/install_guide.md) for installation instructions. Only the Tableau Server administrator needs to set it up. Once working, any user on Tableau Server who can publish may use VizAlerts.

## What versions of Tableau are supported?

Expand Down
36 changes: 32 additions & 4 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,38 @@
pyinstaller --additional-hooks-dir=. --hidden-import=Queue vizalerts.py --onedir
del .\dist\*.* /F /Q
pyinstaller --additional-hooks-dir=. --hidden-import=Queue --noconfirm vizalerts.py --onedir
pushd .\dist\vizalerts
mkdir twilio
mkdir twilio\conf
mkdir config
mkdir docs
mkdir docs\media
mkdir demo
mkdir tests
mkdir logs
mkdir ops
mkdir vizalert
mkdir tabutil
mkdir temp
popd

copy .\config\* .\dist\vizalerts\config
copy .\docs\* .\dist\vizalerts\docs
copy .\docs\media\* .\dist\vizalerts\docs\media
copy .\demo\* .\dist\vizalerts\demo
copy .\tests\* .\dist\vizalerts\tests
copy .\logs\* .\dist\vizalerts\logs
copy .\ops\* .\dist\vizalerts\ops
copy .\vizalert\* .\dist\vizalerts\vizalert
copy .\tabutil\* .\dist\vizalerts\tabutil
copy .\temp\* .\dist\vizalerts\temp
copy .\tests\* .\dist\vizalerts\tests

copy .\version_history.txt .\dist\vizalerts
copy .\config\cacert.pem .\dist\vizalerts\twilio\conf
copy .\config\vizalerts.yaml .\dist\vizalerts\config
copy .\config\VizAlertsConfig.twb .\dist\vizalerts\config
copy .\LICENSE .\dist\vizalerts
copy .\README.md .\dist\vizalerts
copy .\vizalerts.py .\dist\vizalerts

pandoc .\docs\install_guide.md -f markdown -t html -o .\dist\vizalerts\docs\install_guide.html
pandoc .\docs\user_guide.md -f markdown -t html -o .\dist\vizalerts\docs\user_guide.html

7z a -r .\dist\vizalerts.zip .\dist\vizalerts\*

0 comments on commit f14949e

Please sign in to comment.