Basic setup to use the Coderockr Way methodology
Using this script your project will be bootstraped with the basic labels needed to control your issues according with the Coderockr Way methodology
You can take a look here: https://github.com/coderockr/coderockr-way-github-setup/labels
We now support setting up projects on GitHub and GitLab, click in the links to see more.
This repository has a script named coderockr-way-github-setup.bash
there are two ways to use it.
$ bash -c "$(curl -sL https://raw.githubusercontent.com/coderockr/coderockr-way-github-setup/master/coderockr-way-github-setup.bash)"
Type your Github repository name (owner/repo_name): lucassabreu/coderockr-way-github-setup
Type your Github username: lucassabreu
Type your Github password (won't be shown):
Usage: coderockr-way-github-setup -u githubUser -p githubPassword owner/repo
--user, -u GitHub username
--password, -p GitHub password
--verbose, -v Details process
If you're using github token you must set the environment variable GITHUB_TOKEN
, then the script will ignore and won't ask for your username and password
Much like the GitHub script, this repository has a script named coderockr-way-gitlab-setup.bash
and there are two ways to use it.
$ bash -c "$(curl -sL https://raw.githubusercontent.com/coderockr/coderockr-way-gitlab-setup/master/coderockr-way-gitlab-setup.bash)"
Type your GitLab repository name (owner/repo_name): coderockr/awesome-project
Type your GitLab Private-token: <private-token>
Usage: ./coderockr-way-gitlab-setup.bash --token gitlab-private-token [-u http://gitlab.example.com] owner/repo
--help, -h Show this help
--token, -t GitLab Private-Token (defaults to $GITLAB_TOKEN)
--url, -u GitLab base URL (defaults to $GITLAB_URL or https://gitlab.com)
--verbose, -v Details process
To install into your machine just run the commands bellow, and then use the command coderockr-way-github-setup
or coderockr-way-gitlab-setup
.
curl -sL "https://raw.githubusercontent.com/coderockr/coderockr-way-github-setup/master/coderockr-way-github-setup.bash" -o "/usr/local/bin/coderockr-way-github-setup"
chmod a+x /usr/local/bin/coderockr-way-github-setup
curl -sL "https://raw.githubusercontent.com/coderockr/coderockr-way-github-setup/master/coderockr-way-gitlab-setup.bash" -o "/usr/local/bin/coderockr-way-gitlab-setup"
chmod a+x /usr/local/bin/coderockr-way-gitlab-setup