Perl Project Template
This is a template for any perl project. Use this template as a starting point.
Jump to Section
Usage
To start with the template. Please follow the following steps:
-
Firstly, you need to have a project store. for example $HOME/web
-
Make the project store directory
-
Then download the template
cd $HOME/web
git clone git@git.monitoring.bskyb.com:feeds/TemplatePerl.git perl5-Mon-Foo-Bar
- Then run the
run-me-firstprogram to update the template into a usable blade.
cd $HOME/web/perl5-Mon-Foo-Bar
bin/run-me-first
...answer all the questions...
run-me-first will change this local copy into a blank new git config. When you commit and push will be no harm to the template.
- Your first commit.
cd $HOME/web/perl5-Mon-Foo-Bar
git add . --all
git commit -m "init copy"
- Create a remote git repo for your project
Goto https://git.monitoring.bskyb.com
Click on New Project
Type in the Project path "perl5-Mon-Foo-Bar"
Choose the correct Namespace
Then Click on Create project.
- Add the repo url to your project
cd $HOME/web/perl5-Mon-Foo-Bar
git remote add origin git@git.monitoring.bskyb.com:`namespace`/`project name`.git
- Your first push
cd $HOME/web/perl5-Mon-Foo-Bar
git push -u origin master
Authors
- Lagrue, Daniel Daniel.Lagrue@sky.uk
- Vu, Michael michael.vu@sky.uk
