Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You need to set up three new git repositories:

  1. cnaas-example-templates
  2. cnaas-templatesexample-settings
  3. cnaas-settingsexample-cnaas-labetc

You then need to initialize the repositories , and then add some data.

Templates repo

An example for the templates repository can be found at https://github.com/SUNET/cnaas-nms-templates

You can copy the files from there (if you copy from a checked out git directory on your computer remember to not copy over the .git directories from that git repo). If you want to keep your templates on github you can just fork the repository on github.

...

, you can try cloning this repository to your local PC and have a look.

To initialize a new bare repository you have setup on a server:

git clone git@gitserver.yourdomain.com:cnaas-example-templates.git
cd cnaas-example-templates
git init

To add some data to your own repository we suggest starting meld ( https://meldmerge.org/ ) and do a directory comparison from the cnaas-nms-templates repo from github and the cnaas-example-templates directory. Copy the files/directories from cnaas-nms-templates to cnaas-example-templates. Then add/commit/push:

git add .
git commit -a -m "init"
git push

Settings repo

For the settings repository you can initiate it with some empty directories and files for now:

...