diff --git a/packages/unleash-db-postgres-adapter/.eslintrc b/packages/unleash-db-postgres-adapter/.eslintrc deleted file mode 100644 index 88b8a0343d..0000000000 --- a/packages/unleash-db-postgres-adapter/.eslintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": [ - "finn", - "finn/node" - ] -} \ No newline at end of file diff --git a/packages/unleash-db-postgres-adapter/README.md b/packages/unleash-db-postgres-adapter/README.md deleted file mode 100644 index 464090415c..0000000000 --- a/packages/unleash-db-postgres-adapter/README.md +++ /dev/null @@ -1 +0,0 @@ -# TODO diff --git a/packages/unleash-docker/.dockerignore b/packages/unleash-docker/.dockerignore deleted file mode 100644 index 3eabbdc038..0000000000 --- a/packages/unleash-docker/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -.git -docker-compose.yml -node_modules \ No newline at end of file diff --git a/packages/unleash-docker/.eslintrc b/packages/unleash-docker/.eslintrc deleted file mode 100644 index 8f68bb4a87..0000000000 --- a/packages/unleash-docker/.eslintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": [ - "finn", - "finn/node" - ] -} diff --git a/packages/unleash-docker/Dockerfile b/packages/unleash-docker/Dockerfile deleted file mode 100644 index 4d33a539e5..0000000000 --- a/packages/unleash-docker/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM nodesource/wheezy:6 - -COPY . . - -RUN npm install --production -RUN mkdir scripts && cp node_modules/unleash-server/scripts/migration-runner.js scripts/. && \ - mkdir migrations && cp -r node_modules/unleash-server/migrations/* migrations/. - -EXPOSE 4242 - -CMD node index.js diff --git a/packages/unleash-docker/README.md b/packages/unleash-docker/README.md deleted file mode 100644 index 5b2ee1d6c2..0000000000 --- a/packages/unleash-docker/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# unleash-docker - -```bash -$ docker-compose build -$ docker-compose up -``` \ No newline at end of file diff --git a/packages/unleash-docker/docker-compose.yml b/packages/unleash-docker/docker-compose.yml deleted file mode 100644 index 635f8ea3ba..0000000000 --- a/packages/unleash-docker/docker-compose.yml +++ /dev/null @@ -1,13 +0,0 @@ -web: - build: . - command: npm run migrate-and-start - ports: - - "4242:4242" - links: - - db - environment: - DATABASE_URL: postgres://postgres:unleash@db/postgres -db: - expose: - - "5432" - image: postgres:9.3 diff --git a/packages/unleash-docker/index.js b/packages/unleash-docker/index.js deleted file mode 100644 index 40dd3dfbed..0000000000 --- a/packages/unleash-docker/index.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -const unleash = require('unleash-server'); -unleash.start({}); diff --git a/packages/unleash-docker/package.json b/packages/unleash-docker/package.json deleted file mode 100644 index 7ecb531f96..0000000000 --- a/packages/unleash-docker/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "unleash-docker", - "version": "1.0.0", - "description": "Docker images for unleash.", - "main": "index.js", - "scripts": { - "start": "NODE_ENV=production node index.js", - "migrate-and-start": "npm run db-migrate && npm run start", - "db-migrate": "db-migrate up", - "test:ci": "echo 'no tests for unleash-docker';" - }, - "engines": { - "node": "6" - }, - "author": "", - "license": "ISC", - "dependencies": { - "db-migrate": "0.9.25", - "mkdirp": "^0.5.1", - "unleash-server": "^1.0.0-alpha.2" - } -}