Commit graph

32 commits

Author SHA1 Message Date
Gandharv
2f3b441c0a
Move plugins to root (#1728)
* feat: move plugins to root

* modify tsconfig

* add .gitignore

* delete old plugins file

* add parcel

* docker compose volume mount

* add gcs

* add typescript to plugins folder

* gcs to ts

* add dynamodb

* add elastic search

* add firestore

* add gsheets

* add graphql

* add mongodb

* mssql

* add mysql

* add postgresql

* add redis

* add s3

* add slack

* add stripe

* remove plugin related packages from pkgjson

* add lib folder

* add gitignore

* remove typescript generated files

* remove generated file

* remove generated files

* add twilio

* add dist to docker compose cache binding

* add dist prefix

* cleanup - 1

* delete dist

* rename to index.ts + add jest config

* add it.todo in tests

* test fixes

* test file changes

* fix type checks

* add @tooljet/plugins to server package json

* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0

* docker file npm package version fix

* add typesense

* cleaup - 2

* add sendgrid

* add lerna build and clean script for all packages + tsconfig

* cleanup -3

* add plugins build step

* add missing plugins build step in npm run build

* add mssql, mysql & postgres as singleton classes

* add db connection to cache only if datasourceId is available

* client: add data source schema/manifest files

* add query operations files

* logic for wrapping form with schema

* add script to create index file

* add @tooljet/plugins to frontend folder

* cleanup 1 -frontend

* cleanup - 2 // frontend // data queries

* add client and index to gitignore

* update gitignore

* fix lint & test

* update ci

* fix unit, e2e

* cleanup -3

* fix test

* fix tests

* fix indent

* try npm ci

* fix tests

* fix typo

* fix

* rename file for server entry

* heroku fix

* add main and types entry points in pkg json

* move common to root

* cleanup - 4: remove redundant $ sign prefix

* cleanup - 4: remove redundant $ sign prefix

* update options in-sync before DOM is painted

* change type cloud to cloud storage

* update readme

* update ci.yml

* update ci yml

* add pkg-lock.json

* rename index.ts to server.ts

* update lock files

* add server package.lock

* remove unused import

* revert commit: add minio

* add root dep

* import server.ts

* remove plugins build step

* add npm shrinkwrap

* update version - plugins

* add new version - 0.0.8

* upgrade version

* move to symlinked package

* add lock file

* feat: add icon inside package

* add plugin creation docs

* Remove seed

* move icons to plugins folder

* install pg dep

* add react to packages

* add seed cmd

* revert change

* add plugins build in lint, e2e, unit

* e2e, lint use npm ci

* update dockerfile for plugins

* try combining release with web

* limit memory on release

* try executing seed script post transpile

* try executing seed from server directory

* update seed execution

* add minio

* add correct type

* add minio to pkg json

* remove old file

* fix provider key

* add python installable + npm ^7.2.0 (#1752)

* add python installable + npm ^7.2.0

* add py to prod file

* pin npm version to 7.20.0

* pin npm version to 7.20.0

* split into multi stage build and remove python for buildx

* copy plugins from buider stage

* update dependencies

* add freetds dependency

* update server dockerfile

* update client dockerfile

* update dev dockerfile and compose file

* fix entrypoint

* fix server dev dockerfile

* update docker-compose

* remove npm install on root dir on docker build

* fix heroku script

* make lerna prod dependency to enable prod builds

* remove redundant env setup

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Akshay
1fd3dfb2a6
Docs: Azure K8s deployment (#1517)
* add aks docs

* fix doc
2021-12-07 00:39:46 +05:30
Akshay
4f8697a7d2
make ami public by default (#1400) 2021-11-15 08:18:38 +05:30
Akshay
a3d009236c
Revert "Uses double quotes to expand expressions (#1000)" (#1180)
This reverts commit 2d5af45309.
2021-10-21 13:02:55 +05:30
raviprasanthgit
2d5af45309
Uses double quotes to expand expressions (#1000) 2021-10-13 10:39:59 +05:30
Navaneeth Pk
a80dca7b96
Docs for deploying tooljet on GKE (#882) 2021-10-05 08:35:41 +05:30
Akshay
a625f7f9bf
Fix npm scripts to be able to run from project root (#717)
* fix npm scripts to be able to run from project root

* copy package.json from root for prod dockerfile

* fix k8s deployment manifest template
2021-09-09 17:15:59 +05:30
Akshay
cb2d8bd5ed
fix server entrypoint (#714) 2021-09-08 23:43:17 +05:30
Akshay
f2249749cf
[docs] update k8s deployment doc (#684)
* fix k8s docs

* remove unused env vars
2021-09-05 10:24:47 +05:30
Akshay
c128d94b1d
Dev and deploy setup revision (#604)
* revise dockerfiles

* make nginx to proxy requests when static files are absent
2021-08-26 20:34:30 +05:30
Sherfin Shamsudeen
1f0ff9ecf8
Add functionality to decide whether front-end should be served from server (#547)
* Add functionality to decide whether front-end should be served from server

This commit makes the server allow flag `--serve-frontend`, providing
which, will make the server serve the front-end at route '/'. Otherwise
it won't serve the front-end.

* Use env variable to enable serving client from a server end-point

* Add documentation for SERVE_CLIENT env var
2021-08-20 09:25:34 +05:30
navaneeth
56116b61f5 Merge branch 'hotfix/fix-image' into develop 2021-08-12 12:15:45 +05:30
navaneeth
513c681306 Fix docker image name for k8s deployments 2021-08-12 12:13:41 +05:30
Akshay
b45e365464
update packer build to specify aws regions for ami to be copied (#497) 2021-08-12 10:29:57 +05:30
Akshay
11df74b3a4
Docker deploy setup for Nestjs (#474)
* make nginx config generic

* fixes env substituted

* remove npm script dependencies from dev

* match all nginx location to server

* revert git clone dev branch
2021-08-09 10:02:25 +05:30
Akshay
57a10398f2
Packer setup for nest server (#463) 2021-08-06 19:37:45 +05:30
navaneeth
586209f2bf Update production docker-compose for nest 2021-08-04 20:59:32 +05:30
navaneeth
1f8fe20264 Merge branch 'develop' into feature/nest-server 2021-07-31 20:28:32 +05:30
navaneeth
d3ecd25e9a Dockerize for production 2021-07-31 14:18:56 +05:30
Ashish
2c59616b70
Feature: docker-compose deployment (#388)
* separate dockerfile for tooljet client in development mode

* production dockerfile for tooljet client

* reference the tooljet clients dev dockerfile in the docker-compose file

* use a fallback url for API_URL in cases where TOOLJET_SERVER_URL is not defined

* nginx config file for the front-end

* docker-compose file for production deploys

* dont run postgres inside docker-compose

* use an entrypoint script for setting the server host for nginx

* separate volume for fallback certs

* add docs for docker-compose deployment

* add required database keys in the .env.example file

* address review comments
2021-07-12 14:45:42 +05:30
navaneeth
08a36e00f5 Remove frozen_string_literal line from setup script 2021-07-06 12:13:07 +05:30
Deepti Kakade
b10d777f63
Fixes Rubocop issues in tests (#359)
* Updated project set up guide for Mac, added node version and Webpack install steps.

* Worked on PR comment i.e Can we change this line to Install Node.js ( version: v14.9.0 )

* Fixed "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping."

* Resolved rubocop comments i.e "Style/FrozenStringLiteralComment: Missing frozen string literal comment." in test folder

Co-authored-by: Deepti Kakade <deepti@saeloun.com>
Co-authored-by: Deepti Kakade <“deepti@saeloun.com”>
2021-07-01 12:54:35 +05:30
Navaneeth Pk
f69fd652bd
Chore: install only production NPM dependencies on EC2 (#335) 2021-06-26 22:59:41 +05:30
Ashish
80d5ec536d
Chore: change location rule in nginx conf (#320)
* change location rule in nginx conf; enable std out logging

* use packer variables to set ami name, instance type and ami region
2021-06-25 21:43:38 +05:30
navaneeth
91ed307efe Fix k8s YAML 2021-06-23 22:13:14 +05:30
Ashish
7881b19200
Feature: AWS EC2 deployment 🎉 (#284) 2021-06-22 11:06:09 +05:30
Navaneeth Pk
725a52b440
Build react app as part of Heroku 1-click deployment (#181)
* heroku

* testing

* Fixes

* fixes

* Fixes

* Fix

* Fix

* Fix

* ff

* ff

* fix

* fix

* Fix

* fix

* Fix

* f

* f

* fix

* Fix

* renamed

* renamed

* Fix

* Fix

* fix

* some fixes

* fix
2021-06-05 13:29:23 +05:30
navaneeth
2fd9339d5d Update k8s configs for lockbox 2021-05-29 22:24:21 +05:30
navaneeth
12696b4148 [Docs] Update outdated tutorial docs, add gifs 2021-05-24 19:55:48 +05:30
navaneeth
2d982e907b k8s loadbalancer service 2021-05-23 14:25:53 +05:30
navaneeth
1c2b5d2aed Fix incorrect health check port 2021-05-23 14:24:29 +05:30
navaneeth
159973e637 k8s config for production server 2021-05-23 11:19:41 +05:30