projects:projects
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:projects [2024/08/31 07:20] – [.gitignore] jhagstrand | projects:projects [2025/11/16 02:30] (current) – jhagstrand | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ======Projects====== | ======Projects====== | ||
| - | Each project is a web app, a subdomain of voyc.com, stored in github. | + | Each project is a web app, a subdomain of voyc.com, stored in gitlab (previously |
| + | |||
| + | === For Developers === | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | [[projects: | ||
| + | |||
| + | === Apps === | ||
| [[projects: | [[projects: | ||
| Line 11: | Line 27: | ||
| [[projects: | [[projects: | ||
| - | |||
| - | [[projects: | ||
| [[projects: | [[projects: | ||
| Line 33: | Line 47: | ||
| [[projects: | [[projects: | ||
| - | |||
| - | [[projects: | ||
| - | |||
| - | [[projects: | ||
| [[projects: | [[projects: | ||
| - | [[projects:jslib:jslib]] - library of javascript tools | + | [[projects:timeline:timeline]] - timeline |
| [[https:// | [[https:// | ||
| Line 46: | Line 56: | ||
| =====Developer Guidelines===== | =====Developer Guidelines===== | ||
| - | ====Search Engines==== | + | ====.gitignore==== |
| + | |||
| + | robots.txt | ||
| + | .well-known/ | ||
| + | js.min | ||
| + | css.min | ||
| + | index.php | ||
| + | |||
| + | ==== Duplicate Content | ||
| Most of our projects have a dev and a production version.\\ | Most of our projects have a dev and a production version.\\ | ||
| Line 102: | Line 120: | ||
| voycgit has no remotes.\\ | voycgit has no remotes.\\ | ||
| gitlab has no remotes. \\ | gitlab has no remotes. \\ | ||
| + | All other repositories have remote //origin// pointing to voycgit.\\ | ||
| + | webprod also has remote // | ||
| - | All other repositories have remote origin created by the initial clone from voycgit. | ||
| get remote -v | get remote -v | ||
| $ origin ssh:// | $ origin ssh:// | ||
| - | $ origin / | ||
| - | |||
| - | webprod also has remote gitlab | ||
| - | get remote -v | ||
| - | $ origin / | ||
| $ gitlab https:// | $ gitlab https:// | ||
| - | ====git Workflow==== | + | Note that use the ssh protocol; never the local protocol. |
| - | === Develop in webapps or webdev=== | + | ==== voyc git Workflow==== |
| - | == recreate or refresh the worktree== | + | == refresh the local repo and worktree == |
| - | git clone ssh:// | + | git clone ssh:// |
| - | or | + | |
| - | git clone / | + | |
| - | or | + | |
| git branch | git branch | ||
| git pull origin master | git pull origin master | ||
| git submodule foreach git pull origin master | git submodule foreach git pull origin master | ||
| - | == create a feature branch, do your work, commit== | + | == start development |
| - | git branch | + | git branch |
| - | git checkout | + | git checkout |
| + | |||
| + | == development == | ||
| <make changes> | <make changes> | ||
| git status | git status | ||
| - | git add * | + | git add . |
| - | git commit -m ' | + | git commit -m ' |
| + | git push origin popup # remote backup | ||
| - | == merge to master, delete feature | + | == pull in simultaneous development from server - ???? == |
| + | git switch master | ||
| + | git pull origin master | ||
| + | git checkout popup | ||
| + | git rebase master | ||
| + | |||
| + | == complete development | ||
| git checkout master | git checkout master | ||
| - | git merge newfeature | + | git merge popup |
| - | git diff master..newfeature | + | git diff master..popup |
| - | git branch -d newfeature | + | git branch -d popup |
| + | git push origin master | ||
| + | git push origin -d popup # delete branch from central | ||
| - | == push finished master branch up to voycgit == | + | == in webprod == |
| - | git push origin master | + | |
| - | + | ||
| - | === Publish | + | |
| git pull origin master | git pull origin master | ||
| git push gitlab master | git push gitlab master | ||
| - | |||
| - | =====.gitignore===== | ||
| - | |||
| - | robots.txt | ||
| - | .well-known/ | ||
| - | js.min | ||
| - | css.min | ||
| - | index.php | ||
projects/projects.1725103203.txt.gz · Last modified: 2024/08/31 07:20 by jhagstrand