This commit is contained in:
gv 2023-03-10 12:14:56 +01:00
commit 75eef95ba5

View file

@ -1,4 +1,4 @@
# Write a new Blog Post (readmy)
# Write a new Blog Post
1. Create a new file in `/src/posts/`.
- You can create it in the VSCode sidebar, or in the windows flie manager, or in the terminal. It doesn't matter.
@ -10,7 +10,7 @@
- `image` should correspond to the name of a file in `/src/assets/images/posts/`
# See changes quickly
# See changes quickly during development
If you run your site in development mode using the following command, your changes will appear in the browser whenever a file is saved.
@ -21,7 +21,7 @@ npm run dev
Open http://localhost:8080 with your favorite browser to see your blog.
# Deploy to Production
# Deploy changes to Production
When you are done making changes, use the following command. Your site will be built in production mode, and it will be served at a temporary local port so you can look at it in the browser.
@ -31,6 +31,22 @@ npm run serve
Now, your blog is ready to be deployed. All generated files are located at `_site` folder, which you can deploy with any hosting service.
# Pull down Spencer's changes from the git repo
Go to the Source Control panel (Ctrl+Shift+G) and click the 🔃 Synchronize Changes button under **Source Control Repositories**.
# Push up your own changes to the git repo
1. Save your work
2. Go to the Source Control panel (Ctrl+Shift+G). You should see pending changes.
3. Type a short explanation of your change into the **message** text box.
4. Click commit.
5. Click yes (or always) to 'stage changes and commit them directly'.
6. Click 'Sync Changes'
# Glossary of Terms
## Markdown