2.9 KiB
Contribute to the project
Open Development & Community Driven
Strapi is open-source under the MIT license. All the work done is available on GitHub. The core team and the contributors send pull requests which go through the same validation process.
Every user can send a feature request using the issues on GitHub.
Repository Organization
We made the choice to use a monorepo design such as React, Babel, Meteor or Ember do. It allows the community to easily maintain the whole ecosystem up-to-date and consistent.
The Babel team wrotes an excellent short post about the pros and cons of the monorepo design.
We will do our best to keep the master branch clean as possible, with tests passing all the times. However, it can happen that the master branch moves faster than the release cycle. To ensure to use the latest stable version, please refers to the release on npm.
If you send a pull request, please do it again the master branch. We are developing upcoming versions separately to ensure non-breaking changes from master to the latest stable major version.
Setup Development Environment
To facilitate the contribution, we drastically reduce the amount of commands necessary to install the entire development environment. First of all, you need to check if you're using the recommended versions of Node.js (v8) and npm (v5).
Then, please follow the instructions below:
- Fork the repository to your own GitHub account.
- Clone it to your computer
git clone git@github.com:strapi/strapi.git. - Run
npm run setupat the root of the directory.
Note: If the installation failed, please remove the global packages related to Strapi. The command
npm ls strapiwill help you to find where your packages are installed globally.
The development environment has been installed. Now, you have to create a development project to live-test your updates.
- Go to a folder on your computer
cd /path/to/my/folder. - Create a new project
strapi new myDevelopmentProject --dev. - Start your app with
strapi start.
Awesome! You are now able to make bug fixes or enhancements in the framework layer of Strapi. To make updates in the administration panel, you need to go a little bit further.
- Open a new tab or new terminal window.
- Go to the
/adminfolder of your currently running app. - Run
npm startand go to the following url http://localhost:4000/admin