Skip to content

Instantly share code, notes, and snippets.

@michaelgrafl
Created January 18, 2017 12:11
Show Gist options
  • Save michaelgrafl/e9d0f559fedc013cee8e26e935575328 to your computer and use it in GitHub Desktop.
Save michaelgrafl/e9d0f559fedc013cee8e26e935575328 to your computer and use it in GitHub Desktop.
# atvise-scm Installation Manual
_atvise-scm Version 0.4.0-alpha8_
_atvise-scm-cli Version 0.3.0_
## Prerequisites
* Node.js version 6.0 or newer
* Git Version Control
## Step By Step Instructions
_All following instructions are to be issued on a command prompt (e.g. cmd.exe
on windows, bash on Linux, etc.)_
1. As root (or Admin) execute: **npm install -g atvise-scm-cli**
This installs the command line interface that you will later be using to initialize and manage an atvise-scm project.
2. Create a project directory and change into it.
3. Execute: **atvise-scm init**
A dialog will appear and ask you for some project details. Those details will be saved in the file **Atviseproject.js**.
4. Still in the project directory, execute: **npm install atvise-scm --save-dev**
You can now list all available tasks with **atvise-scm --tasks**
5. Make sure atvise is running and hosting your project. Then execute: **atvise-scm pull**
Before using any other commands, we recommend pulling in all project specific nodes so they are registered in the **.atviserc** file.
You can now use the tool to pull changes in your nodes.db into the atvise-scm project directory, and push changes in the other direction with **atvise-scm pull** and **atvise-scm push** respectively. You can also monitor and automatically push changes in your project directory to your nodes.db by starting a watch process with **atvise-scm watch**. The file watching process can be quit with **CTRL-C**.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment