projects:projects
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:projects [2026/06/19 21:36] – [List of Projects] jhagstrand | projects:projects [2026/07/19 05:03] (current) – [End Branch] jhagstrand | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| [[projects: | [[projects: | ||
| + | |||
| + | [[projects: | ||
| [[projects: | [[projects: | ||
| Line 69: | Line 71: | ||
| =====Developer Guidelines===== | =====Developer Guidelines===== | ||
| - | ==== Tab Indents | + | ==== Coding Style ==== |
| - | Always | + | Coding style: |
| + | * use the tab character to indent | ||
| + | * use unix line-endings | ||
| + | |||
| + | javascript | ||
| + | |||
| + | php | ||
| + | |||
| + | python | ||
| + | |||
| + | ==== File Organization ==== | ||
| + | |||
| + | project/ | ||
| + | .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/ | ||
| + | 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 235: | Line 268: | ||
| # save work | # save work | ||
| git checkout peaceful | git checkout peaceful | ||
| + | git commit -m 'feat: new feature' | ||
| git push origin peaceful | git push origin peaceful | ||
| | | ||
| ==== End Branch ==== | ==== End Branch ==== | ||
| git checkout master | git checkout master | ||
| - | git merge --squash peaceful | + | |
| + | git merge --no-ff | ||
| git commit -m ' | git commit -m ' | ||
| git branch -D peaceful | git branch -D peaceful | ||
| Line 247: | Line 282: | ||
| ==== Deploy ==== | ==== Deploy ==== | ||
| - | git tag v0.2.0 | + | |
| - | | + | |
| git push origin master --tags | git push origin master --tags | ||
| - | git push gitlab master --tags | + | git push gitlab master --tags |
| + | git for-each-ref --sort=-version: | ||
| | | ||
| # in production webserver | # in production webserver | ||
| git fetch origin | git fetch origin | ||
| git reset --hard origin/ | git reset --hard origin/ | ||
| - | | ||
| - | git push gitlab master --tags | ||
projects/projects.1781919410.txt.gz · Last modified: 2026/06/19 21:36 by jhagstrand