sumeet-bansal / sedsucsd.org

Official website of SEDS UCSD.
https://sedsucsd.org/
0 stars 0 forks source link

sedsucsd.org

This is the official website of SEDS UCSD.

Structure

Code and Build

Don't let the random PHP blocks fool you; the site is very much a basic static one with plain HTML/JS/CSS so there isn't really a "build" procedure per se, although you can always run a local HTTP server (I personally use python3 -m http.server) to see how it'll appear in production.

Deployment

To deploy to the DigitalOcean droplet, follow the instructions here:

git remote add prod ssh://user@165.227.56.100/var/repo/site.git
git push prod master

To push to the GitHub repo and the DigitalOcean droplet simultaneously, follow the instructions here:

git remote add prod https://github.com/sumeet-bansal/sedsucsd.org
git remote set-url --add --push prod ssh://user@165.227.56.100/var/repo/site.git
git remote set-url --add --push prod https://github.com/sumeet-bansal/sedsucsd.org
git push prod master

To set this new simultaneous deployment remote as the default for git push:

git push -u prod master

Make sure fetches always come from the GitHub repo, not the droplet.

TODO