Commit Graph

56 Commits

Author SHA1 Message Date
Tim Dillon
1c6252b719
Add Linux Mint support to install.sh (#2694) 2021-01-25 13:25:10 +05:30
Shrikant Sharat Kandula
828a9ae308
Add message re telemetry during installation (#2621) 2021-01-22 15:18:12 +05:30
Nikhil Nandagopal
bd5d3d1d0f
Update install.sh 2020-12-18 14:33:13 +05:30
Nidhi
42aae02522
Modified installation instructions (#2125) 2020-12-10 15:37:11 +05:30
Nikhil Nandagopal
e411df0a64
Added check so that existing installs don't get telemetry (#1698)
* Adding the segment key to the tagged release
* Also opting out of telemetry data in CI builds

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-11-11 23:54:19 +05:30
Nikhil Nandagopal
add47fa98c
Update install.sh 2020-11-11 21:17:05 +05:30
Nikhil Nandagopal
c503191420 telemetry information update 2020-11-06 14:55:08 +05:30
Nikhil Nandagopal
274e2bc5cd updated telemetry check 2020-11-05 11:41:29 +05:30
Nikhil Nandagopal
7979dff9df updated installation script 2020-11-04 19:48:18 +05:30
Nikhil Nandagopal
3c0762934f
Update install.sh (#1449)
* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh
2020-10-29 12:04:43 +05:30
Nikhil Nandagopal
64f097306e
Update install.sh (#1432) 2020-10-27 20:01:30 +05:30
Pau Garcia Quiles
44136b88a2
Add support to deploy on openSUSE and SUSE Linux Enterprise (#1383) 2020-10-27 10:44:03 +05:30
Nikhil Nandagopal
fa41bf4c19
Update text in install.sh (#1352) 2020-10-26 22:49:03 +05:30
James
dd42089440
Making errors more explicit in install.sh (#1384)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2020-10-26 12:32:45 +05:30
Arpit Mohan
1b451daed5
Adding Debian to the list of supported OS (#700)
The paths to some of the software packages are different in Debian as compared to Ubuntu. Hence, we now take the OS into consideration before executing the `apt-get` command.

Also removing some of the extraneous outputs generated by Integromat.
2020-10-16 10:57:16 +05:30
jack1142
ce3e39453c
Update deploy install script to use api64.ipify.org which supports IPv4 (#887)
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
2020-10-03 12:35:49 +05:30
Nikhil Nandagopal
a49ff07c7c
Update install.sh
fixes #889
2020-10-03 12:05:18 +05:30
Srijan R Shetty
8b8dcc050a
fix: use trap to run bye on errexit (#581) 2020-09-21 19:05:58 +05:30
Nikhil Nandagopal
d028011d7c
Updated events to track user id as IP 2020-09-16 19:51:02 +05:30
Nikhil Nandagopal
afc2f8d1a5 cherry picked install script update from release 2020-09-16 18:26:21 +05:30
Nikhil Nandagopal
3ec8b58cf8
Update install.sh 2020-09-16 16:00:27 +05:30
Nikhil Nandagopal
7ca32f0a01
Update install.sh 2020-09-16 15:27:44 +05:30
Nikhil Nandagopal
62d87da51f
Update install.sh 2020-09-09 11:40:26 +05:30
Nikhil Nandagopal
83907b50b7
Update install.sh 2020-09-08 11:37:31 +05:30
Nikhil Nandagopal
e214d77326
Update install.sh 2020-09-07 23:03:28 +05:30
Nikhil Nandagopal
a4defd4b28
Update install.sh (#505)
* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh

* Update install.sh
2020-09-07 22:23:24 +05:30
Nikhil Nandagopal
a0363691ab
Update install.sh 2020-09-07 20:30:51 +05:30
Nikhil Nandagopal
84d175dde1
Added anonymous tracking for installation 2020-09-07 16:36:14 +05:30
Shrikant Sharat Kandula
681a4bdcc9
Fix Let's Encrypt certificate generation for self-hosted (#491)
* Creating SSL certificates now works

* Work with single domain

* Move certificate generation into install script

* Download templates from master branch, not release
2020-09-03 18:04:58 +05:30
Shrikant Sharat Kandula
868757155a
Add watchtower for auto updates to Appsmith containers (#456)
* Trying to move horizontal rules into separate function

* Delete install_dir if exists already, after confirmation

* Add confirm function to take user conformations

* Resolve warnings on read command without -r option

* Use temporary directory for downloaded templates

* Fix inverted calls to confirm

* nginx template doesn't use global variables now

* docker compose template doesn't depend on global vars now

* Fix port checking for CentOS

* Fix encryption.env to not use global variables

* Fix mongo-init to not use global variables

* Fix docker.env file to not use any global variables

* Fix letsencrypt script to not use any global variables

* Set mongo_database in the docker-compose file

Spotted this after global variables were reduced. The `mongo_database`
was not being used anywhere.

* Move password generation into a function

* Attempt to add watchtower

* Fix port checking in install script for CentOS

* Don't offer to delete install dir if it already exists

* Remove vagrant source for templates (it's a dev-time thing only)
2020-09-02 16:42:33 +05:30
Nikhil Nandagopal
9933464d1f
Disabled centOS and redHat 2020-08-21 14:12:17 +05:30
Shrikant Sharat Kandula
aa4635420f
Fix bc command not found in RHEL in install script (#391) 2020-08-21 13:56:40 +05:30
Nikhil Nandagopal
2b9deed5fa
Update install.sh 2020-08-20 20:24:27 +05:30
Shrikant Sharat Kandula
85974daa9b
Fix bugs in install.sh (#361)
* Exit if running with sudo on macOS

* Fix port checking failing if 8080 is occupied

Also, ports on Linux (especially Ubuntu) are reported as
`:80`, and macOS reports as `.80`, so we have to handle
them both.

* Move goodbye message to a function

* Fix installation fail when path contains space

* Fix script exits after `up` if already running

If there's a project by the name `appsmith` already running
in the docker namespace, then the command `docker-compose up`
is exiting with a non-zero status. This causes the script to
exit because it looks like an error.

* Timeout display now shows a decreasing timer in the message

* Fix docker service not being started correctly on Linux

* Show custom domain in final message, if available
2020-08-20 10:22:22 +05:30
Arpit Mohan
a7c4fe697e Merge branch 'master' into release
# Conflicts:
#	README.md
#	app/client/yarn.lock
#	deploy/install.sh
2020-08-17 16:33:37 +05:30
Arpit Mohan
88c45118e7
Encoding the mongo credentials in install.sh script (#310)
This is to ensure that we handle special characters in the mongo url that's given to the Java server during configuration.
2020-08-17 11:10:01 +05:30
Apoorv Mishra
dc10566740
Update install.sh to install docker-compose separately (#319)
Fixes #318

The issue occurred because code assumes that if docker is already installed, docker-compose would have been installed too. This PR is an attempt to fix it.
2020-08-16 17:36:34 +05:30
Arpit Mohan
07605dae0a
Enforcing non-empty credentials for Mongo during installation (#298)
* Enforcing non-empty credentials for Mongo when we spin up a Mongo container during installation

* Adding a check for server startup before completing the installation
2020-08-14 11:22:15 +05:30
Nikhil Nandagopal
e768e5d131
Fix/copy changes (#218)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

* added a question to skip custom domain if user is installing locally

* Inverted script question and

* Removed question to determine local installation

* Updated Popup CTA to Modal
Updated query templates to contain bindings
Added a message to display on API / Query errors

* updated styles for evaluated value
updated styles for auto complete

* added spaces to questions

* grouped data tree functions together in autocomplete

* Updated autocomplete styles

* Updated property pane styles to become more dense

* Fixed lightning menu styling

* fixed tests

* Fixed Cypress test

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-05 13:03:44 +05:30
Nikhil Nandagopal
f7cf7e1182
Fix/copy changes (#210)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

* added a question to skip custom domain if user is installing locally

* Inverted script question and

* Removed question to determine local installation

* Updated Popup CTA to Modal
Updated query templates to contain bindings
Added a message to display on API / Query errors

* updated styles for evaluated value
updated styles for auto complete

* added spaces to questions

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-04 17:51:02 +05:30
Arpit Mohan
3faaabbd31
Minor fix to create certbot directories during installation (#211) 2020-08-03 21:07:40 +05:30
Arpit Mohan
4a62da9b36
Modifying the docker-compose templates to only expose required ports (#207)
* Modifying the docker-compose templates to only expose required ports from Nginx

* Also, adding function to check if the required ports are open & available for use by Appsmith
2020-08-03 20:32:54 +05:30
Nikhil Nandagopal
0cb4d3733c
Fix/deploy script (#206)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

* added a question to skip custom domain if user is installing locally

* Inverted script question and

* Removed question to determine local installation

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-03 18:20:55 +05:30
Arpit Mohan
6bd994a9ba
Removing the option --nobest from the apt install command (#196) 2020-07-30 11:18:48 +05:30
Nikhil Nandagopal
45163c5f99
Updated installation script (#172)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

* Updated docker installation explanation

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-27 12:52:53 +05:30
Nikhil Nandagopal
74756a25b1
Fix/deploy script (#170)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

* Removed option to connect to external mongo for fresh installs
Exit script of docker desktop is not installed

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-27 12:25:45 +05:30
Nikhil Nandagopal
70c4dd5964
Fix/deploy script (#111)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-17 15:29:28 +05:30
Trisha Anand
d111df5e9e
Updated encryption setup in build and deploy script (#112)
* Incorporated review comments on encryption setup in build and deploy script.
2020-07-16 15:51:52 +05:30
Arpit Mohan
1060423b99
Modifying deploy script to replace nginx configuration at runtime (#106)
* Getting the script to work on Mac OS X Bash Version 3

* Correcting the nginx template configuration and Dockerfile for the appsmith-editor. Now any replaced environment variables will be replaced when the Nginx Docker container restarts.
2020-07-16 11:47:45 +05:30
Nikhil Nandagopal
de151e1b46
Fix/deploy script (#94)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-15 12:49:52 +05:30