wiki:devworkflow
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:devworkflow [2021/07/30 02:45] – guidebeacon | wiki:devworkflow [2021/09/14 23:15] (current) – guidebeacon | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Since the database is synced from prod to dev, work must be performed with this in mind. | Since the database is synced from prod to dev, work must be performed with this in mind. | ||
| - | code is to be modified, then when the code is in a state that you are ready to publish, commit work to the local dev repo, then push from dev to prod | + | Static assets and generated content are not tracked in git, or pushed from dev to prod. This is taken into account in '' |
| + | |||
| + | Code is to be modified, then when the code is in a state that you are ready to publish, commit work to the local dev repo, then run the '' | ||
| ===== Making Changes ===== | ===== Making Changes ===== | ||
| - | To make changes, ssh to username@dev.beacontechnology.com | + | To make changes, ssh to '' |
| - | You should be automatically logged in as masterbeacon user. | + | You should be automatically logged in as '' |
| The website files are located at ''/ | The website files are located at ''/ | ||
| - | Modify | + | Change |
| When done and ready to publish, stage and commit all changes using '' | When done and ready to publish, stage and commit all changes using '' | ||
| Line 31: | Line 33: | ||
| ===== Publishing Changes ===== | ===== Publishing Changes ===== | ||
| - | To publish changes, just run ''/ | + | To publish changes, just run '' |
| - | That script will push master | + | That script will do everything necessary |
| - | Then it pulls | + | Then it runs necessary commands on prod to get the files exposed for public_html |
| ===== Syncing Database and Files ===== | ===== Syncing Database and Files ===== | ||
| - | The database and static files are copied from prod to dev on a daily basis between 3AM and 4AM. | + | The database and static files are copied from prod to dev on a daily basis between 3AM and 4AM. The script also has some basic logic to manage having a set up backups of the database. |
| To make the script run early, just run the command: '' | To make the script run early, just run the command: '' | ||
wiki/devworkflow.1627613109.txt.gz · Last modified: 2021/07/30 02:45 by guidebeacon