No description
.gitignore | ||
.npmignore | ||
auth.ts | ||
deploy.ts | ||
index.ts | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vhosts.ts |
dxfl
A CLI tool to manage your Deuxfleurs account.
Install
npm install -g dxfl
Usage
Not ready
Start by login with your username, for example for john
:
dxfl login john
Then you can list your websites:
dxfl list
And then to deploy your _public
folder on example.com
:
dxfl deploy example.com _public
Development
git clone https://git.deuxfleurs.fr/Deuxfleurs/dxfl
cd dxfl
npm install
npm link
dxfl
Release
First you need an account on npmjs.com and be a maintainer of the dxfl
package (ask quentin).
Do not forget also to run npm login
to bind your account with the CLI.
Then to publish a release:
vim package.json # update the version in this file
git commit -a -m 'set version 0.1.5' # commit your change
git push # send update
git tag -m 'v0.1.5' v0.1.5 # create associated tag
git push --tags # push tag
npm publish # build and push the package
License
This software is distributed under the EUPL-1.2 license.