Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document post-creation steps #11

Open
2 tasks
myedibleenso opened this issue Nov 2, 2021 · 0 comments
Open
2 tasks

Document post-creation steps #11

myedibleenso opened this issue Nov 2, 2021 · 0 comments
Assignees

Comments

@myedibleenso
Copy link
Contributor

myedibleenso commented Nov 2, 2021

In post hook, print a description of next steps.

Docker

If docker enabled, ...

  • Add DOCKERHUB_USERNAME to secrets
  • Add DOCKERHUB_TOKEN to secrets

Repo

# change to new repo's directory
cd "{{cookiecutter.repo_name}}"
# initialize repository
git init
# switch to main branch
git checkout -b main
# add project files
git add . 
# install hub: https://github.com/github/hub#installation
# create an access token with repo scope: https://github.com/settings/tokens 
export GITHUB_TOKEN="my-token-here"
# create a private repository on GitHub from the command line (NOTE: omit -p to make public)
hub create -p "{{cookiecutter.organization}}/{{cookiecutter.repo_name}}"
# push initial version to remote
git push origin main

Pages

From repo settings, enable GH pages: https://github.com/{{cookiecutter.organization}}/{{cookiecutter.repo_name}}/settings/pages

@myedibleenso myedibleenso self-assigned this Nov 2, 2021
@myedibleenso myedibleenso changed the title add hub-based commands to docker image Document post-creation steps Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant