Deployed websites:
- Production is deployed from
main
branch and is available here: https://thescalableway.com/ - Dev is deployed from
dev
branch and is available here: https://dev--thescalableway.netlify.app/ - Content is deployed from
content
branch and is available here: https://content--thescalableway.netlify.app/
Blog articles are markdown files inside the src/posts
folder. The top of the markdown has a YAML section to define article metadata such as title, description and publish date.
Code Blocks are possible with the typical "```" opening and closing. Documentation on syntax highlighting and code blocks can be found here.
Images should be stored in src/images
.
Create an issue on github with the webdeveloper
tag so that the webdeveloper can resolve it.
For support check: eleventy-excellent.
This site uses a static page generator called eleventy
, you can read its documentation here.
If you have npm
installed (if not, follow this guide), you should be able to run the local version with the following command (in the root directory of the repository):
npm run start
Usually the local website will run on http://127.0.0.1:8080/
.
-
Implement changes by:
-
FOR WEBSITE CONTENT CHANGES:
admin panel in Sveltia CMS UI (changes in Sveltia are pefromed directly to
content
branch, you can enter admin panel using path: https://thescalableway.com/admin_content/).Admin panel is deployed using Sveltia CMS. All admin configurations are in
src/admin_content/config.yml
. -
FOR WEBSITE CONFIGURATION CHANGES:
perfom changes directly in repo (PR/Merge to
dev
branch) or by admin panel in Sveltia CMS UI (changes in Sveltia are pefromed directly todev
branch, you can enter admin panel using path: https://thescalableway.com/admin_dev/).Admin panel is deployed using Sveltia CMS. All admin configurations are in
src/admin_dev/config.yml
.
-
-
Once the changes have been made and tested, create a PR to the main branch and assign one of the repository owners for review and approval.
-
After merging the changes to the main branch, Netlify will automatically build and deploy the changes to the production website.
-
After merging the changes into the main branch, synchronization with the
dev
andcontent
branches is required.