浏览代码

add dev notes

Gregg Tavares 5 年之前
父节点
当前提交
eb14a670e7
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      DEVELOPMENT.md

+ 24 - 0
DEVELOPMENT.md

@@ -0,0 +1,24 @@
+# DEVELOPMENT NOTES
+
+## archiving old versions
+
+(hopefully automated someday)
+
+1. make repo on github
+2. in threejsfundamentals.org
+   1. git fetch origin gh-pages
+   2. git checkout gh-pages
+   3. git rebase origin/gh-pages?
+   4. git clone --branch gh-pages ../old.threejsfundamentals/rXXX
+3. cd ../old.threejsfundamentals.rXXX
+4. git remote rm origin
+5. git remote add origin <new-github-repo>
+6. edit CNAME
+7. delete 
+   * robots.txt
+   * sitemap.xml
+   * atom.xml
+   * Gruntfile.js
+8. s/\/threejsfundamentals.org/\/rXXX.threejsfundamentals.org/g
+9. git push -u origin gh-pages
+10. Update DNS (cloudflare)