What is Directus
If we refer to the hero section on the Directus website, Directus is The Backend to build anything or everything. Directus is a backend application for building various kinds of things.
Directus combines utilities / features from Headless CMS with Backend-as-a-service. Directus handles various kinds of services including API, Authentication, Admin Management, Data Studio and various kinds of features that honestly I rarely find in similar applications. Quite complete.
Directus License
Initially, Directus had a GNU General Public License (GPL) v3 license which allows us to use, share and also modify the source code freely.
But for financial reasons, Directus changed their license to version BSL 1.1 (Business Source License). This license is effective on Directus version 10.0.0 upwards. What are the provisions of this new license?
Users can use Directus for production needs as long as the Total Finance owned does not exceed 5,000,000 USD within a 12-month period. If we do not have that much finance or use it for non-production needs, then we are free to use version 10 upwards.
Whereas for version 10 downwards, we are still free to use without any financial conditions. The last version that has a GPL V3 license is 9.26.0.
You can read more (here)[https://directus.io/bsl]
How to Install Directus 9.26.0 on NodeJS
Prepare a server or system that has NodeJS 18 or 20 installed.
- create a project folder
- Enter the project folder
npm init, fill in all parametersnpm install [email protected] --savenpx [email protected] init- Select the database used (If you want to test Directus, you can choose SQlLite). If using another database, please input the required parameters.
- Enter superadmin email
- Enter superadmin password
- Done.
How to run Directus 9.26.0
- Enter the project folder
npx [email protected] start- Remember, it is mandatory to use the Directus version so that what runs is version 9.26.0 and not the latest version that uses the BSL license.
- Please access http://ipserver:8055. This server ip is the ip owned by the Directus server.
