Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

genuinegreg/deploy-it

Repository files navigation

DeployIt

Dependency

Configuration

Par ordre de priorité

  • cli args
  • env
  • ~/.dploy/setting.json (user difined prefs)
  • /etc/dploy/setting.json (global perfs)
  • srv/etc/setting.json (default pref)

default prefs

{
    "paths": {
        "upload": "/data/dploy/tmp/upload/",
        "unzip": "/data/dploy/tmp/unzip/",
        "data": "/data/dploy/store/"
    },

    "server": {
        "port": 3000
    },

    "urls": {
        "static": "http://api.dploy.plop.io/",
        "api": "http://dploy.plop.io/"
    }
}

Tests & prod

Dev

Modifier le ~/.dploy/settings.json ou le fichier /etc/dploy/settings.json

{
    // ...

    "urls": {
        "static": "http://<host>",
        "api": "http://<host>"
    }
}

start api

cd srv
./bin/start_dev.bash

start client

yeoman server

Prod

modifier les fichier app/scripts/app.js et ~/.dploy/settings.json ou le fichier /etc/dploy/settings.json

# build du projet (concat, mini, images opti)
yeoman build
# start server
./bin/start_prod.bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors