Commit Graph

60 Commits

Author SHA1 Message Date
Arpit Mohan
39ab488193
Adding script for k8s deployment (#1359)
Also support feature for generating SSL certificate for domain when deploying on Kubernetes

Co-authored-by: GEEK Up Team <prj_legodevops@geekup.vn>
2020-10-30 09:51:05 +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
Arpit Mohan
40ddc9b3ee
Giving complete URL for the containers because it's required for auto update container (#1434) 2020-10-28 11:04:03 +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
Hetu Nandu
0b430d0324
Completely replace hotjar with smartlook (#447)
* Replace hotjar with smartlook

* Remove duplicate event declaration
2020-08-27 18:24:03 +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
Hetu Nandu
f70c55c681
Show warning when mail client is not enabled on an instance (#333)
* Adds the `APPSMITH_MAIL_ENABLED` flag on client
* Shows warning if email service not configured for inviting users in an org
* Shows warning if email service not configured for password reset
2020-08-20 10:43:20 +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
Hetu Nandu
7f8befc365
Update support menu (#259)
Add a default help menu with
* Report a Github issues link
* Documentation link
* Github discussions link
* Intercom link support
* App version id support
2020-08-14 15:17:47 +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
Hetu Nandu
c937a149ee
Replace APPSMITH_MARKETPLACE_URL flag with APPSMITH_MARKETPLACE_ENABLED (#197) 2020-08-07 13:05:38 +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
Shrikant Sharat Kandula
32095c85ed
Use single sed command with multiple expressions (#127)
Processing the text in-memory, we won't have to deal with the platform dependency of the `-i` argument to `sed`.
2020-07-22 17:23:49 +05:30
Arpit Mohan
33e2f90de3
Updating the path to download the script during AMI creation (#137) 2020-07-22 09:06:59 +05:30
Manish
391347224d
adding base-install.sh and boot.sh (#92)
Adding the following files in order to create the AWS AMI 
* boot.sh
* base-install.sh
* configure-ssl.sh file to run to modify app.conf file of nginx and to run init-letsencrypt.sh which generate SSL certificate.

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-07-21 16:54:08 +05:30
Arpit Mohan
a4fd349c0b
Fixing the sed command for mac os x in Nginx configuration template. (#126) 2020-07-20 17:51:10 +05:30
Arpit Mohan
eabe496fbd
Adding the /login endpoint to nginx configuration template during deploy process (#122) 2020-07-17 18:31:14 +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
Arpit Mohan
dad70efcbd
Fixing the nginx configuration used as template during deployment (#115) 2020-07-17 01:05:42 +05:30