| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Moved to: https://github.com/saritasa-nest/saritasa-unity-3d-template-project
You can initialize project by bash script which is located in releases. Download and run it on your PC.
https://github.com/Saritasa/Unity3DTemplateProject/releases/tag/cookiecutterAnalog
The script looks for a develop branch in the repository and makes a branch from it for initialization. If it does not find develop branch, then it searches for a main or master to create develop. If the script does not see the main or master branch in the project repository, then try updating Git to a newer version. Also you can make sure that you are logged in to Git on your PC.
Unity3D project scaffold. Uses cookiecutter (https://github.com/audreyr/cookiecutter) to be able to create project with required pre-config. Possible options are described in cookiecutter.json.
This project requires following binaries:
It is assumed that this repo and final Unity project will be used in case insensitive filesystem.
Attention: Source tree for Mac, by default, uses emdedded versions of git and git-lfs which are older than reqiured. Install last versions and switch to 'Use system ...' settings in SourceTree -> Preferences -> Git:
Exclude steps if you already have certain component. Or update it, see: brew upgrade ... It is assumed that http://brew.sh/ is installed. (TODO: Check with MacPorts)
brew install git brew install git-lfs brew install python pip install cookiecutter
In case if python is already installed to system:
# the only that you need -- cookiecutter pip install cookiecutter # or if you don't have pip use: easy_install cookiecutter # or sudo easy_install cookiecutter
Exclude steps if you already have certain component. Or update it, see: choco upgrade ...
(Use PowerShell)
choco install git choco install git-lfs
Python package for chocolatey is broken at moment, please use following script for installation of python and cookiecutter:
iwr https://raw.githubusercontent.com/Saritasa/Unity3DTemplateProject/master/InstallCookiecutterWin.ps1 -OutFile InstallCookiecutterWin.ps1 .\InstallCookiecutterWin.ps1 rm InstallCookiecutterWin.ps1
This script will warns you if you already have python. And suggests options.
You can also check wiki for more information.
cookiecutter https://github.com/Saritasa/Unity3DTemplateProject.git
Use following command in order to add remote to your repo:
git remote add origin https://path.to.repo.com
New .git repo, configured to work with Unity and git-lfs (optional). It contains git-hooks, useful scripts and git configs which solve certain 'git vs Unity' problems.
What's happening when i call cookiecutter for this repo?
Answer:
| Back | FazBrowse Home | New Git URL |