<aside> 💡
To contribute, fork the repository on GitHub by navigating to the GitHub page for the original repository and clicking the fork button, then clone and set up your forked copy using the new forked repository URL
</aside>
git clone [RESPOSITORY-URL]
Install the dependencies using composer
and npm
. Keep in mind you have to be in the repository directory
composer install
npm install
Copy .env.example
into a new .env
file
Do the necessary adjustments in the .env
file for parameters such as DB_HOST
, DB_PORT
, DB_DATABASE
, DB_USERNAME
and DB_PASSWORD
Generate new encryption keys for APP_KEY
parameter
php artisan key:generate
Set up the database using DBMS of choice, such as phpMyAdmin or direct SQL on your database
CREATE DATABASE [DB_DATABASE];
Run migrations to create tables
php artisan migrate
Run the project
composer run dev
In git code is stored in branches with one primary branch usually named main
or master
. When a new branch is created, it copies the code from where it was branched off of (e.g. main
). Your commits apply to the active branch. Branches can be merged, such as merging a feature branch with main
.
git branch [BRANCH-NAME]
git checkout [BRANCH-NAME]
git commit -am [COMMIT-MESSAGE]
git push origin [BRANCH-NAME]
git checkout main
git merge [BRANCH-NAME]