Front-end Contribution

Share this post on:

Umbrella rules

  1. Mobile-first Design: Design for mobile, then use @media for larger display (>720px).
  2. DRY
    • Use _Layout.php repeating Web GUI elements
    • Use helpers/ reapting components
    • Use lib/ repeating logics
  3. If it works, don’t add attributes to elements, and dont nested them.

Branch

  • Branch names pattern: <username><task_slug_name>
  • Label your WIPs

PHP Installation

https://grrg.ir/167

apt install php

Clone

git clone https://git.gordarg.com/arad/website <PROJECT_DIR>

Pull

cd <PROJECT_DIR>
git submodule update --init --remote --recursive
git pull --recurse-submodules --jobs=10

Setup configuration

cp app/core/Config.php.sample app/core/Config.php
nano app/core/Config.php

Launch

php -S 127.0.0.1:8000
Share this post on:

Author: tayyebi

Tayyebi works in the role of Director at Gordarg where he is the founder. He is passionate about people, technology, and arts. Mohammad believes in communications, each of us has the power to empower their people with knowledge. He can be seen writing codes, playing music, biking, and reading.

View all posts by tayyebi >






www.Gordarg.com