Commit graph

32 commits

Author SHA1 Message Date
Akshay
16c9e2355e
Chore: Update docker files to use buster to be used with oracledb (#2624)
* update docker files to use buster to be used with oracledb

* revert oracledb extractable dependency

* update dockerfile

* add libaio1 dependency

* make use of oracledb releases directly as dependency
2022-03-24 17:30:14 +05:30
Muhsin Shah C P
eaf93616ae
Feature/oracledb plugin (#2388)
* oracledb initial commit
- Added oracledb package

* Implemented connection and operations

* Working on oracle db integration

* Implemented query & bulk operations

* Fixed initial client reintialization problem

* Added custom client library path option

* Added oracle client library installation steps to dev docker file

* Testing changed docker setup on cloud

* Testing heroku app.json

* Removed unwanted scripts from dockerfiles

* Updated field label

* update oracledb client lib for ec2

* update package-lock

* refactoring code

* Updated docs

* Resolved some lint errors

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-03-15 08:00:02 +05:30
Navaneeth Pk
aac178eb55
Add command to copy package.json of root to server.Dockerfile (#2148) 2022-02-07 00:34:48 +05:30
Gandharv
a22de0b358
Remove react scripts (#1928)
* remove react-scripts

* pkg lock

* add babel runtime

* add loaders

* add babel-eslint
2022-01-27 20:59:07 +05:30
Akshay
e3317aa5b7
Chore: Docker compose plugins dev (#1953)
* add plugins to docker compose

* build common

* change cmd

* build:pkgs

* fix'

* temp: add named vol

* update docker-compose for plugins dev

* update seed script to transpile only

* fix ci

* fix ci

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
2022-01-27 15:08:32 +05:30
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
5312573c85
increase node heap memory (#1432) 2021-11-20 06:55:54 +05:30
navaneeth
8bfdd7ec3d Minor correction for production dockerfile 2021-10-04 17:37:46 +05:30
Arpit
26c9cc655c
Fix linting errors across the app (#785)
* eslint-setup: rules for frontend and server

* setup pre-commit:hook

* frontend:eslint fixes

* frontend eslint errors and warning fixed

* eslint:fix for ./server

* fix server/test: expectatin string lint/error

* pre-commit:updated

* removed unwanted install cmd from docker file

* recommended settings and extension for vscode

* husky prepare script added

* updated extension recommendations

* added prettier as recommended extension

* added pre-commit to package.json

* remove .prettierrc file

* resolve changes

* resolve changes
2021-09-21 19:18:28 +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
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
Akshay
915d66107e
[docs] Update docs for testing (#479)
* copy .env.test file for docker dev

* update docs for testing
2021-08-09 17:41:01 +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
navaneeth
558ac75a28 Dependencies for ts scripts 2021-08-06 17:06:37 +05:30
navaneeth
f5ceec8c54 [Docs] Deploying to k8s & Heroku 2021-08-01 14:58:48 +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
navaneeth
62d8b3e646 Dockerfile for production server 2021-07-31 10:10:19 +05:30
navaneeth
c2b51ed044 Dev dockerfile for server 2021-07-23 19:50:50 +05:30
navaneeth
b302029bba Dockerize nest server 2021-07-23 19:46:01 +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
Ashish
6346e78820
Chore: fix server dockerfile (#307)
* fix typo in entrypoint script invocation from the server dockerfile

* use sh in the entrypoint shebang instead of bash

* make entrypoint script executable
2021-06-24 16:40:26 +05:30
Ashish
939e26fc6a
Chore: reference the entrypoint file in the dockerfile (#292) 2021-06-22 22:48:55 +05:30
Ashish
dfd0d93852
Chore: Remove server.pid file if its already present from docker entrypoint (#256) 2021-06-14 16:39:00 +05:30
Ashish
7256490450
conditionally run bundle install from the entrypoint script (#254) 2021-06-14 16:29:57 +05:30
Ashish
2329311416
Bugfix: Separate docker file for development (#250)
* new dockerfile for development

* reference the development dockerfile in docker-compose

* remove explicit RAILS_ENV=production in development dockerfile
2021-06-14 15:27:19 +05:30
Akshay
134e2f51ca
Feature: SQL Server integration 🎉 (#244)
* MS SQL server integration

* enable mssql service to test, create and process connection

* return 400 when query fails

* [Docker] Install freetds on buster

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-14 07:33:13 +05:30
Navaneeth Pk
69ca4159e0
[Docker] Pending migrations should be executed before starting server (#213) 2021-06-09 18:10:46 +05:30
navaneeth
9fa57932ad Fixed JS heap issue on docker-compose 2021-05-26 07:41:12 +05:30
navaneeth
065d724732 Changed base docker image to buster, bumped ruby version 2021-05-25 13:53:11 +05:30
navaneeth
3c20814763 Setup docker-compose for local development 2021-04-29 15:29:25 +05:30