User Tools

Site Tools


projects:projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:projects [2026/06/19 21:28] – [List of Projects] jhagstrandprojects:projects [2026/07/19 05:03] (current) – [End Branch] jhagstrand
Line 24: Line 24:
  
 [[projects:homepage:homepage]] - homepage for voyc.com [[projects:homepage:homepage]] - homepage for voyc.com
 +
 +[[projects:library:library]] - library of web development components
  
 [[projects:pokerface:pokerface]] - facial expressions of artificial feelings [[projects:pokerface:pokerface]] - facial expressions of artificial feelings
Line 62: Line 64:
  
 [[projects:voyc:voyc]] - leftover from when geo/global was voyc.com [[projects:voyc:voyc]] - leftover from when geo/global was voyc.com
- 
-[[https://docs.google.com/spreadsheets/d/19pIRXgSPT8AFUTCPh-eTPc8Ej9RInxtj518fo-t2HVs/edit?usp=sharing | webapps sheet]] 
  
 [[https://docs.google.com/spreadsheets/d/1Hs1h9R91J8e3biNyIzN-aX_iER-cJ1zTMMGI4BeC-IA/edit?gid=2023137882#gid=2023137882 | My Drive -> sync -> dev -> webapps -> projects checklist sheet]] [[https://docs.google.com/spreadsheets/d/1Hs1h9R91J8e3biNyIzN-aX_iER-cJ1zTMMGI4BeC-IA/edit?gid=2023137882#gid=2023137882 | My Drive -> sync -> dev -> webapps -> projects checklist sheet]]
  
 +[[https://drive.google.com/drive/folders/0ByidsAQcVcUUei0wc1lpVWlfUFU?resourcekey=0-22REggHl5xt3oBQw_syh0w | My Drive -> sync -> dev -> webapps]]
  
 =====Developer Guidelines===== =====Developer Guidelines=====
  
-==== Tab Indents ====+==== Coding Style ====
  
-Always use the tab character to indent.+Coding style: 
 +  * use the tab character to indent 
 +  * use unix line-endings 
 + 
 +javascript 
 + 
 +php 
 + 
 +python 
 + 
 +==== File Organization ==== 
 + 
 +  project/                        ← git root 
 +    .env 
 +    config.php 
 +    config-example.php 
 +        html/                   ← docroot - index.html 
 +                svc/            ← webservice stubs, php or python 
 +                js/             ← project-specific javascript code 
 +                        lib/    ← generic javascript code 
 +                css/            ← project-specific css styles 
 +                        lib/    ← generic css styles 
 +        php/                    ← project-specific php code 
 +                lib/            ← generic php code 
 +        python/                 ← project-specific python code 
 +                lib/            ← generic python code 
 +        db/ 
 +            schema.sql 
 +            seed.sql 
 +            reset.sh
  
 ====.gitignore==== ====.gitignore====
  
-  robots.txt 
-  .well-known/* 
-  js.min 
-  css.min 
   index.php   index.php
 +  min.js
 +  min.css
   RELEASES.md   RELEASES.md
 +  robots.txt
 +  .well-known/*
 +  .aider*
 +  config.php
 ==== Duplicate Content ==== ==== Duplicate Content ====
  
Line 237: Line 268:
   # save work   # save work
   git checkout peaceful   git checkout peaceful
 +  git commit -m 'feat: new feature'
   git push origin peaceful     # push feature branch to bare repo   git push origin peaceful     # push feature branch to bare repo
      
 ==== End Branch ==== ==== End Branch ====
   git checkout master   git checkout master
-  git merge --squash peaceful+  #git merge --squash peaceful 
 +  git merge --no-ff peaceful
   git commit -m 'squashed hand-written commit message'   git commit -m 'squashed hand-written commit message'
   git branch -D peaceful    # after squash the big -D force is required   git branch -D peaceful    # after squash the big -D force is required
Line 249: Line 282:
 ==== Deploy ==== ==== Deploy ====
  
-  git tag v0.2.0 -m'...'  # fancy hand-written tag message will become part of release history +  # in local dev 
-  +  git tag -a v0.2.0 with -a and not -m the editor opens for multiline message
   git push origin master --tags   git push origin master --tags
-  git push gitlab master --tags+  git push gitlab master --tags  # need PAT 
 +  git for-each-ref --sort=-version:refname --format='%(refname:short)  %(contents)%0a%0a' refs/tags >RELEASES.md
      
   # in production webserver   # in production webserver
   git fetch origin   git fetch origin
   git reset --hard origin/master   git reset --hard origin/master
-   
-  git push gitlab master --tags 
  
projects/projects.1781918918.txt.gz · Last modified: 2026/06/19 21:28 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki