Framework: Project Structure
2021 ∙ September ∙ Osm Framework
2 years ago ∙ 1 minute read
After you got a project up and running, let's have a look what's inside. Every directory has its purpose. Learn where to put your creative efforts!
Note. This post is moved to Osm Framework documentation.
Details:
.github/
- GitHub Settingsbin/
- Shell Scriptsgenerated/
node_modules/
public/
samples/
src/
temp/
tests/
themes/
vendor/
composer.json
composer.lock
gulpfile.js
LICENSE
package.json
package-lock.json
phpunit.xml
readme.md
.github/
- GitHub Settings
workflows/deploy.yml_
defines a GitHub action that deploys project changes to the production server anytime a push is made to the GitHub repository, or a pull request merged into it.
By default, it's disabled. In order to enable it, remove the last _
character and configure it as specified here.
bin/
- Shell Scripts
Use deploy.sh
script on production server to update the project from the GitHub repository.
Use install.sh
script to install the project.