wiki:devworkflow
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:devworkflow [2021/07/30 01:41] – created 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, | + | To publish changes, |
| + | |||
| + | That script will do everything necessary to move changes from dev to prod. This involves invoking rsync and moving the files. | ||
| + | |||
| + | Then it runs necessary commands on prod to get the files exposed for public_html | ||
| + | |||
| + | ===== Syncing Database and Files ===== | ||
| + | |||
| + | 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: '' | ||
wiki/devworkflow.1627609308.txt.gz · Last modified: 2021/07/30 01:41 by guidebeacon