1.2.18 • Published 9 months ago

easy-project-setup v1.2.18

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Easy Project Setup

Easily setup and deploy projects

Introduce

이 프로젝트는 오래된 프로젝트의 개발 환경을 관리하고, 손쉽게 설정하기 위하여 개발되었습니다.
개발자뿐 아니라 PM, 디자이너, 퍼블리셔 등을 위한 프로젝트입니다.

This project was developed to manage the development environment of the old project and set it up easily. This project is not only for developers, but also for PMs, designers, publishers, etc.

How to use

Project Root Path에 project.setup.json 파일을 만듭니다.
Create project.setup.json file in Project Root Path.

{
  "develop": [
    {
      "name": "test-backend",
      "type": "git",
      "language": {
        "type": "nodejs",
        "tool": "yarn",
        "nvm": 16
      },
      "repository": "{GIT_URL}",
      "branch": "develop",
      "runCommand": "yarn start:dev"
    },
    {
      "name": "test-front",
      "type": "git",
      "language": {
        "type": "nodejs",
        "tool": "yarn",
        "nvm": 16
      },
      "repository": "{GIT_URL}",
      "branch": "master",
      "runCommand": "yarn dev"
    },
    {
      "name": "test-docker",
      "type": "docker",
      "dockerCompose": {
        "path": "./docker-compose.yml",
        "options": "-d"
      },
      "env": [{
        "fileName": ".env",
        "path": "./",
        "data": {
          "ENV_DATA": "ENV DATA"
        }
      }]
    }
  ],
  "release": [
    {
      "name": "test-docker",
      "type": "docker",
      "dockerCompose": {
        "path": "./docker-compose.yml",
        "options": "-d"
      },
      "env": [
        {
          "fileName": ".env",
          "path": "./",
          "data": {
            "MAIL_HOST": "smtp.gmail.com",
            "MAIL_PORT": 587,
            "MAIL_SECURE": false,
            "MAIL_USER": "",
            "MAIL_PASS": "",
            "MAIL_SERVICE": "gmail"
          }
        }
      ]
    }
  ],
  "deploy": [
    {
      "name": "test-front",
      "type": "ssh",
      "targetProject": { "target": "develop", "project": "test-front" }, //Above Project Infomation
      "dockerFile": { //Docker Build Infomation
        "path": "./",
        "args": {},
        "tag": "${DOCKER TAG}",
        "push": true
      },
      "dockerComposeFile": { // Upload docker-compose file to Remote from local
        "path": "./",
        "fileName": "./docker-compose.yml",
        "conatainerName": "${YOUR CONTAINER NAME}",
        "repository": {
          "user": "",
          "password": "",
          "host": ""
        }
      },
      "remoteTarget": { // SSH Infomation
        "host": "",
        "port": "",
        "user": "",
        "path": ""
      },
      "shellCommand": [""], // Last execute
      "env": { //Generate Env Remote Folder
        "fileName": ".env",
        "path": "./"
      }
    }
  ]
}

Project Setup


프로젝트 설정을 진행합니다.
Proceed with project setup.

npx easy-project-setup setup {target}
//npx easy-project-setup setup develop

Project Start


개별 프로젝트를 실행합니다.
Run individual projects.

npx easy-project-setup start {target} {project-name}
//npx easy-projeect-setup start develop test-front

Project Stop


개별 프로젝트를 중지합니다.
Stop individual projects.

npx easy-project-setup stop {target} {project-name}
//npx easy-projeect-setup stop develop test-front
1.2.16

9 months ago

1.2.17

9 months ago

1.2.18

9 months ago

1.2.12

11 months ago

1.2.13

11 months ago

1.2.14

11 months ago

1.2.15

11 months ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.10

1 year ago

1.2.11

12 months ago

1.2.9

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.62

2 years ago

1.0.61

2 years ago

1.0.60

2 years ago

1.0.66

2 years ago

1.0.65

2 years ago

1.0.64

2 years ago

1.0.63

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.67

2 years ago

1.0.23

2 years ago

1.0.29

2 years ago

1.0.28

2 years ago

1.0.27

2 years ago

1.0.33

2 years ago

1.0.32

2 years ago

1.0.31

2 years ago

1.0.30

2 years ago

1.1.0

2 years ago

1.0.38

2 years ago

1.0.40

2 years ago

1.0.44

2 years ago

1.0.42

2 years ago

1.0.46

2 years ago

1.0.51

2 years ago

1.0.55

2 years ago

1.0.54

2 years ago

1.0.53

2 years ago

1.0.52

2 years ago

1.0.59

2 years ago

1.0.58

2 years ago

1.0.57

2 years ago

1.0.56

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.11

2 years ago

1.0.21

2 years ago

1.0.10

2 years ago

1.0.20

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.12

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago