Commit Graph

32 Commits

Author SHA1 Message Date
IllusiveMilkman
2b25f2e80a Update bootstrap.sh
Check for Ubuntu 16.04 before upgrading pip.
2016-09-19 20:35:35 +02:00
IllusiveMilkman
d9623faf8c Update bootstrap.sh
Testing script on clean install of Ubuntu Desktop 16.04.1.

pip fails if not upgraded beforehand, whether "sudo" or "sudo -s" or "sudo -sH" is run.

After this modification it works perfectly from a clean install.  Below are my steps if anyone should want to replicate or validate:
1. Clean install of Ubuntu 16.04.1 Desktop (on VM)
2. sudo apt-get -y install git
3. mkdir ~/git
4. cd ~/git
5. git clone https://github.com/getredash/redash
6. cd ~/git/redash/setup/ubuntu
7. chmod +x bootstrap.sh
8. nano bootstrap.sh
9. added "pip install --upgrade pip" to the script above the "pip install -U..." line.
10. Saved script.
11. sudo -H ./bootstrap.sh

Note that the "-H" is necessary in order to run the script successfully, otherwise you will run into pip ownership issues.
2016-09-08 10:28:11 +02:00
Arik Fraimovich
d22f0d44b6 Merge pull request #1216 from atsaki/noniteractive-upgrade
Change: bootstrap.sh - use non interactive dist-upgrade
2016-08-29 19:13:49 +03:00
Arik Fraimovich
7598048317 Update bootstrap.sh:
- Update version to 0.11.1.
- Move all apt commands to the beginning of the script and add the missing ones (lib-sasl).
- Fix the Redash Metadata data source creation command.
2016-08-03 16:52:45 +03:00
Atsushi Sasaki
738cd1d69d non interactive dist-upgrade 2016-07-28 15:24:13 +09:00
Atsushi Sasaki
57651f177b install libffi-dev for cryptography 2016-07-28 15:23:12 +09:00
Takuya Arita
522e07ac95 Fix the version of setuptools on bootstrap script for Ubuntu 2016-07-03 20:10:01 +09:00
Arik Fraimovich
82f0b4c386 Update version reference in bootstrap scripts. 2016-05-22 10:33:46 +03:00
Arik Fraimovich
9e23cc2bf2 update version references 2016-05-01 15:49:39 +03:00
Ama A
aab0542a93 Update bootstrap.sh to include saml dependency
Required for saml to work
2016-04-20 14:17:10 -05:00
Arik Fraimovich
0d9faa8c04 Merge pull request #964 from ink-adavison/bootstrap_version_parameter
Allow passing branch name to bootstrap.sh
2016-04-05 14:44:23 +03:00
Andrew Davison
70f7219057 Release download path must use the version, not the branch 2016-04-04 16:02:58 +01:00
Andrew Davison
ad2a5601bf Use a REDASH_BRANCH environment variable instead, in the same way as REDASH_VERSION.
Move REDASH_VERSION var setup to top of file where it is more visible and easier to update.
2016-04-04 15:37:38 +01:00
Andrew Davison
4a401db4d2 Allow passing version to bootstrap.sh as a cli parameter, to download a specific tag's setup files. 2016-03-30 17:04:57 +01:00
Andrew Davison
90128b90e6 Fix "http directive is not allowed here" 2016-03-30 16:19:14 +01:00
kirikiriyamama
3aca06b57f Remove unnecessary blanks 2016-03-23 11:16:12 +09:00
kirikiriyamama
d2a57cbf62 Improve security
Hide nginx version
2016-03-23 11:16:05 +09:00
Arik Fraimovich
12660c3d51 Remove references to deprecated config 2016-03-12 18:22:53 +02:00
Arik Fraimovich
27feb676b2 Added X-Forwarded-Proto to nginx config (closes #884) 2016-03-11 23:19:28 +02:00
ink-adavison
194e9f4d7e Correct Ubuntu Bootstrap.sh to a working Base URL
The redash/docker/setup/... path is returning 404, but redash/master/setup/... works
2016-03-01 11:17:11 +00:00
Benjamin Manns
2b5a36cb3f Move update before upgrade
Running update before upgrade will fetch the latest sources, so we
can be sure that the upgrades will bring the box to the latest
versions of everything. Otherwise, this is often a no-op because
the box's sources will be cached at time of generation, meaning
there is nothing to upgrade.
2016-02-17 16:11:16 -05:00
Arik Fraimovich
a5168ecc80 Update bootstrap.sh to more recent release 2016-02-09 15:18:58 +02:00
Olli Jarva
de01184bbd Small shellcheck updates
Fix shellcheck complaints. These changes are not particularly important,
but spotting new/real issues is easier when checker output is empty by
default.
2016-02-06 16:42:24 +02:00
Joe Harris
8c48ec5508 Cleanup of issues with the SQL Server feature PR 2016-02-02 16:18:21 -05:00
Joe Harris
3a970a00c4 Add Microsoft SQL Server as a data source
Uses `pymssql` which in turn uses `FreeTDS`. Note that the data type
support is somewhat limited (see “datasources” page in docs).
2016-02-01 16:53:52 -05:00
Arik Fraimovich
ed9e27019f Remove references to activity_log table 2016-01-19 18:00:42 +02:00
Olga Kogan
ff49321056 Update supervisor configs to recycle Gunicorn/Celery workers
This helps with avoiding memory leaks.
2016-01-15 17:57:09 +02:00
Arik Fraimovich
816142aa54 Update evn files 2015-11-26 10:38:06 +02:00
Arik Fraimovich
f737be272f Update GitHub repo url (EverythingMe -> GetRedash) 2015-11-26 10:34:16 +02:00
Arik Fraimovich
63765281fe Fix path in bootstrap script 2015-11-23 11:38:16 +02:00
Arik Fraimovich
3ba19fa80f update readme for ubuntu bootstrap 2015-11-23 11:38:16 +02:00
Arik Fraimovich
654349a7ae Better arrangement of setup directory 2015-11-23 11:38:16 +02:00