- Create git repo
- Clone git repo
- Install gitbook-cli if not setup already
npm install -g gitbook-cli gitbook helpto verify- Go inside repo folder
gitbook init- Verify by using
gitbook serve - Add .gitignore https://github.com/github/gitignore/blob/master/GitBook.gitignore
- Push all the above to master
- Create
gh-pagesbranch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Uncomment the next line to define a global platform for your project | |
| # platform :ios, '9.0' | |
| install! 'cocoapods', :deterministic_uuids => false | |
| target 'OUR_PROJECT_NAME' do | |
| pod 'AppCenter/Crashes', '~> 1.9.0' | |
| pod 'AppCenter/Analytics', '~> 1.9.0' | |
| pod 'AppCenterReactNativeShared', '~> 1.8.1' | |
| # Uncomment the next line if you're using Swift or would like to use dynamic frameworks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| date +%s |
Instructions on how to install Unity game engine on a mac that you don't have sudo (local admin) permissions on
- mac that you have local admin on (MAC_WITH_ADMIN)
- mac that you don't have local admin on. That you want to run Unity on (MAC_NO_ADMIN)
- Unity Hub and Unity version installed on MAC_WITH_ADMIN
- a way to copy files from MAC_WITH_ADMIN to MAC_NO_ADMIN
- Zip both Unity folder and Unity hub into an archive
- Check out https://github.com/hasura/gatsby-gitbook-starter
- Create a public repo on githut (knowledgebase-test)
- Check out knowledgebase-test
- git checkout -b master
- copy gatsby-gitbook-starter files on to knowledgebase-test
- push master to remote
- update package.json run scripts with :
"deploy": "gatsby build --prefix-paths && gh-pages -d public" - install gh-pages npm package :
npm i gh-pages - add .gitignore file and add the following to it
- node_modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install (pyenv)[https://github.com/pyenv/pyenv] (make sure to do install stesp after step #2 in readme) | |
| 1a. For M1 macs try (this)[https://laict.medium.com/install-python-on-macos-11-m1-apple-silicon-using-pyenv-12e0729427a9] | |
| 2. Install a latest version of python (3.8.10) | |
| `pyenv install 3.10.3` | |
| 3. Set latest python version to be default | |
| `pyenv global 3.10.3` | |
| 4. Install and/or verify pip is installed | |
| `pip --version` | |
| 4a. Upgrade pip if needed | |
| `pip3 install --upgrade pip` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. npx create-react-app <project-name> | |
| 2. npm i --save-dev prettier | |
| 3. npm i --save-dev eslint-config-prettier eslint-plugin-prettier | |
| 4. Edit the "eslintConfig" section in package.json or create a .eslintrc file at the project root to hold our ESLint configuration. | |
| ``` | |
| { | |
| "extends": ["react-app"], | |
| "rules": {} | |
| } | |
| ``` |
OlderNewer