How to Contribute
- Setup Development Environment
- Log/Find a feature that requires action
- Create a feature branch, commit and push changes, and a Open Pull Request
Development Environment Setup
Overview
TBA
See: Development Details
Step 1. In GitLab
- Fork Supportik Repository
- Login/Register to GitLab - if you aren’t already ;).
- Go to GitLab Project: Supportik
- Click the Fork icon.
Step 2. On Host Development Machine
- Install Git
- Install Docker - Appendix: Docker
- Setup
devel
directory
This is our root development directory which is shared with the development VM and containers.- Windows:
C:/devel/
- Mac/Linux:
/devel/
- Windows:
- Clone your Fork locally
- Switch to
devel
directory git clone https://gitlab.com/<username>/supportik.git
- Switch to
- Install an IDE (that supports PHP/Web)
- Recommended: VS Code
- Alternatives:
- TBA
- Setup project in IDE
- Run Docker
- TBA -
- Adjust the local directory path to ensure local project is available in Docker container
- If on Windows (especially if you don’t have Hyper-V), use Docker-Machine
- Go to http://supportik.dev
- Get modifying!
Your first contribution
TBA
Appendix
Development Details
- Service Side Language: PHP 7
- Framework: Silex
- Testing Framework: TBA - PHPUnit?
- Library Management: Composer
- Client Side Language: JS
- Framework: VueJS
- Static Type Checker: Flow
- Testing Framework: TBA
- Database:
- PostgreSQL 10.2
- Environment Management Tool:
- Docker
- Source Control:
- Git via GitLab
- Feature/Bug Tracking:
- GitLab Issues
VS Code Setup
Incomplete
Docker
You need to install Docker localy to run, test and develop. The simplest way to use Docker is with Docker CE. However, Docker CE does not run on all systems. You should check if your system is supported under System Requirements before downloading. If your system does not support Docker CE, you will need to use Docker Toolbox. Either will work for the purpose of development of Supportik.