Welcome to the Softio documentation. This guide serves as the entry point for understanding and using the project. It introduces you to the structure of the repository, how to build the project, and where to find the relevant documentation for each part.
Softio uses Gulp and its plugins to build and process source code. To build the project locally, follow these steps:
Ensure the following tools are installed on your system:
- Node.js
npm(comes with Node.js)gulp-cli(installed globally)
To install gulp-cli globally, run:
npm install --global gulp-cliUse the following commands to clone and navigate to the project:
git clone https://github.com/AryaFardmanesh/softio.git
cd softioInstall all required packages:
npm installYou can now run the test and build scripts:
npm run test # Run unit tests (Optional)
npm run build # Build the projectAlternatively, if you'd like to use Gulp directly:
gulp📄 The build logic is defined in the
gulpfile.jslocated in the root of the repository.
The directory layout of the Softio project is structured as follows:
softio/
├── .github/ # GitHub Actions and workflows
│ └── workflows/
│ └── npm-publish.yml
├── dist/ # Compiled output
│ ├── main.d.ts
│ └── main.js
├── docs/ # Documentation files
│ ├── api/ # Main learning content
│ │ ├── Attr.md
│ │ ├── Events.md
│ │ ├── Input.md
│ │ ├── Introduction.md
│ │ ├── Output.md
│ │ └── Utils.md
│ ├── Contribution.md # Guide to contributing
│ ├── Git-Branch.md # Git branching model
│ └── Labels.md # Issue & PR labeling guide
├── logo/ # Project logos and assets
├── src/ # Source code
├── test/ # Unit tests
├── AUTHORS.txt
├── CHANGELOG.md
└── config.js # Project build configurationThe project uses the following key configuration files:
config.js— Main build configuration (used by Gulp)babel.config.js— Babel setup for running tests viajest-typescripttsconfig.json— TypeScript compiler configuration applied tosrc/
These files ensure consistent building, testing, and compiling of the codebase.
To begin learning how Softio works, head over to:
docs/api/Introduction.md
This file provides a detailed introduction to the project, including how to install, configure, and use Softio. It serves as the starting point for the in-depth API documentation that follows in the same directory.
For those who want to contribute to Softio, make sure to read:
These files outline contribution guidelines, branching strategy, and issue labeling practices.