This assumes a Linux system. Adapt as needed for Windows.
Note that most of this may be superceeded if a repo is created holding all the proper demo directory structure.
- Create a blank
demo
directory to be the root directory and cd into it:mkdir demo && cd demo
- Initialize the directory as a blank git repository:
git init
- Follow steps 1 and 2 for the component you want to create.
- Make sure to cd back into the root
demo
directory before executing the next step. - Make sure to have git installed. Then run the following command.
git daemon --reuseaddr --export-all --base-path=. --verbose --enable=receive-pack .
- Create a blank directory and cd into it:
mkdir topcomp && cd topcomp
- Initialize the directory as a blank git repository:
git init --bare .git
- In another terminal window (and in another directory) create a component:
sr create topcomp
- cd into the new directory:
cd topcomp
- Upload the project:
sr upload -m "Initial commit" -u git://127.0.0.1/topcomp