Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bonus material (Week 7): Deployment script #27

Open
susanBuck opened this Issue Mar 13, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@susanBuck
Copy link
Owner

susanBuck commented Mar 13, 2019

Deploying code changes to production involves running several commands - you have to git add and commit your files locally, then push the commit(s), then SSH into your production server and cd into the appropriate project directory, then run git pull to synchronize with the latest changes.

Additionally, in this week's (7) lecture material, I explain that you also need to start running the command composer install --no-dev to make sure your production packages are up to date.

Long story short, it's a lot of commands just to get your changes to production.

Because of this, it's common to create deployment scripts that can help expedite/automate this process.

If you're interested in learning more about this, read the following (optional) note set: Deployment script

I tested the deployment script on both Mac/Win, but let me know if you run into any issues on your end when implementing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.