How-to: How to update Stapy?
How to update Stapy?
You can get the version you are using by viewing the CHANGELOG.md
file or with the VERSION
variable in the first lines of the stapy.py
file.
Step 1
Download the latest Stapy release:
Step 2
Unzip the archive in the folder you want.
Stapy core
The Stapy core only contains 2 files that should never be modified.
- build.py
- stapy.py
Paste them into the root directory of your Stapy website to erase previous version.
Plugins
The plugins
directory contains all native plugins. Only copy and past the plugins you need.
Compare your plugins
directory with the plugins
directory of the latest version and take only the plugins you are using.
Warning: Manual editing a native plugin is not recommended. If you want to modify a native plugin to include custom feature, you should rename it.
Next
- How to add a new block?
- How to add a new blog post?
- How to build reusable HTML components?
- How to implement a custom plugin?
- How to display a list of items?
- How to display a list of links?
- How to add dynamic data to a page with a plugin?
- How to use Stapy on Windows?
- How to host my static website for free?
- How to auto-deploy my website with GitHub Action?
- How to write content in Markdown?
- How to add a JSON feed?
- How to use Stapy with Apache HTTP Server?
- ✓ How to update Stapy?