-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Bradley Grainger edited this page Aug 30, 2017
·
15 revisions
Follow these steps to create a new project/repo based on this template. It is assumed that the project name has one or more periods, e.g., Faithlife.Xyz
, and the repo name does not, e.g., FaithlifeXyz
. In the instructions below, replace these terms with your project's/repo's name as appropriate.
# clone the template repo
git clone git@github.com:Faithlife/CSharpTemplate.git FaithlifeXyz
# remove the template repository as the origin (a new origin will be added later)
cd FaithlifeXyz
git remote rm origin
git checkout -b master
git branch -D template
\\dev\util\FindReplaceCode\FindReplaceCode . ProjectName Faithlife.Xyz RepoName FaithlifeXyz
git add -A
git commit -m "Globally replace template placeholder strings."
- Create a new repository at https://github.com/Faithlife.
- Click the button to add collaborators; add Coders with Write permission.
- Click Options; disable Wiki and Projects.
- Go to https://travis-ci.org/.
- Click
+
next to "My Repositories". - Click Faithlife on the left.
- Click Sync account button in top right.
- Find FaithlifeXyz in the list and enable it.
- Go to https://ci.appveyor.com/projects.
- Click New Project.
- Find FaithlifeXyz in the list and click the Add button that appears on the far right on hover.
- Go back to the GitHub repo page
- Follow the instructions under "…or push an existing repository from the command line"
Go back to the repo settings back and enable GitHub Pages for the "master branch /docs folder".