Skip to content

Commit 9917ee0

Browse files
author
Muhammad Atif
committed
updated README
1 parent 55c054e commit 9917ee0

File tree

4 files changed

+98
-139
lines changed

4 files changed

+98
-139
lines changed

CODE_OF_CONDUCT.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Code of Conduct
2+
3+
In this open-source project, our aim is to foster a welcoming and inclusive environment. We expect all contributors
4+
and participants interact with each other with courtesy, respect and kindness.
5+
6+
We will not tolerate abuse or harassment of any kind.
7+
8+
In the event of a concern about behaviour, please contact the maintainers of the project:
9+
10+
* Dennis Schwertel <[email protected]>
11+
12+
Reports will be taken seriously and treated in confidence. If necessary, the maintainers will act to exclude
13+
individuals from participating in this and other projects.
14+
15+
16+
## Code review
17+
18+
Code review can be a frustrating process for both contributors and reviewers, with many opportunities for mutual
19+
misunderstanding.
20+
21+
We expect participants who submit contributions for review to understand and accept that all contributions to the
22+
project, including code and the ideas behind it, will be reviewed carefully. Often review will include critique and
23+
criticism, and will almost always require improvements or other changes before contributions can be accepted.
24+
25+
We also expect reviewers to communicate sensitively and respectfully.
26+
27+
This is in line with a shared aim for the success of the project.

CONTRIBUTING.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# How to contribute to the project
2+
3+
Thanks for contributing, welcome aboard.
4+
5+
Please see our [CODE OF CONDUCT](./CODE_OF_CONDUCT.md) for our code of conduct.
6+
7+
8+
## Submitting proposals
9+
10+
Please provide proposals as
11+
[pull requests](https://github.com/flavours/getting-started-with-spring-boot/pulls)
12+
or
13+
[issues](https://github.com/flavours/getting-started-with-spring-boot/issues) as appropriate.
14+
15+
16+
## Pull requests and branches
17+
18+
Please make pull requests:
19+
20+
* from an appropriately-named new branch
21+
* to the ``main`` branch
22+
23+
See:
24+
25+
* [how to make pull requests](https://help.github.com/articles/using-pull-requests/)
26+
* [how to manage branches](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/)
27+
28+
29+
### Whitespace
30+
31+
Do not use trailing whitespace (spaces or tabs at the end of a line). They are often not visible, and can cause silent
32+
problems and misleading unexpected changes. For example, some editors quietly delete them by default.

README.md

Lines changed: 39 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,71 @@
1-
# getting-started-with-php-symfony
1+
# Getting started with Guidelines
22

3+
[![Deploy at Divio
4+
badge](https://img.shields.io/badge/deploy%20at%20divio-DFFF67)](https://control.divio.com/new?template_url=https://github.com/divio/getting-started-with-php-symfony/archive/refs/heads/main.zip)
35

46

5-
## Getting started
7+
This is a template project to bootstrap a PHP Symfony application.
68

7-
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
89

9-
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10+
## Quick Start with Divio Cloud
1011

11-
## Add your files
12+
### Create a free Divio account
13+
Create a free [Divio account](https://control.divio.com/).
1214

13-
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14-
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
15+
### Deploy your app in Divio Cloud
16+
- Click the `Deploy at Divio` button above and provide the information requested by the app creation wizard (eg. app name and app settings)
1517

16-
```
17-
cd existing_repo
18-
git remote add origin https://gitlab.com/divio/incubator/getting-started-with-php-symfony.git
19-
git branch -M main
20-
git push -uf origin main
21-
```
22-
23-
## Integrate with your tools
18+
- In Divio Control Panel dashboard, Add `MySQL` database under Services section.
2419

25-
- [ ] [Set up project integrations](https://gitlab.com/divio/incubator/getting-started-with-php-symfony/-/settings/integrations)
20+
- Under settings, add the `Release Command` for database migration:
21+
- `bash /app/migrate.sh`
22+
(`Release Commands` are the commands executed at the start of app container).
2623

27-
## Collaborate with your team
2824

29-
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
30-
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
31-
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
32-
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
33-
- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
25+
- Deploy an environment; test or live. Open the Env URL in your browser.
3426

35-
## Test and Deploy
27+
For more details about Divio system, read [Divio documentation](https://docs.divio.com/introduction/)
3628

37-
Use the built-in continuous integration in GitLab.
3829

39-
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
40-
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
41-
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
42-
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
43-
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
30+
## Setup your local development environment with Divio CLI
4431

45-
***
32+
Please follow our simple guidelines for [Divio CLI installation](https://docs.divio.com/introduction/01-installation/) and [setup local development](https://docs.divio.com/introduction/01-installation/#tutorial-installation&gsc.tab=0)
4633

47-
# Editing this README
4834

49-
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
35+
## Setup your local development environment without Divio CLI
5036

51-
## Suggestions for a good README
52-
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
37+
### Install Docker
5338

54-
## Name
55-
Choose a self-explaining name for your project.
39+
This project uses Docker and docker-compose which you can install from the [offical Docker website](https://docs.docker.com/get-docker/).
5640

57-
## Description
58-
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
41+
### Clone the repository
5942

60-
## Badges
61-
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
43+
```
44+
git clone https://github.com/divio/getting-started-with-php-symfony.git
45+
```
6246

63-
## Visuals
64-
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
47+
### Build the project
6548

66-
## Installation
67-
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
49+
Let's build the docker image of the project.
50+
```
51+
cd getting-started-with-php-symfony
52+
docker-compose build
53+
```
6854

69-
## Usage
70-
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
55+
### Run the project
7156

72-
## Support
73-
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
57+
```
58+
docker-compose up
59+
```
7460

75-
## Roadmap
76-
If you have ideas for releases in the future, it is a good idea to list them in the README.
61+
This command will start the `web` and `db` services. You can reach the web application at [http://localhost:8000]().
7762

78-
## Contributing
79-
State if you are open to contributions and what your requirements are for accepting them.
8063

81-
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
64+
## How to develop
8265

83-
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
66+
Follow the official [Symfony docs](https://symfony.com/doc/current/setup.html#creating-symfony-applications)
8467

85-
## Authors and acknowledgment
86-
Show your appreciation to those who have contributed to the project.
8768

88-
## License
89-
For open source projects, say how it is licensed.
69+
## Contribute to the project
9070

91-
## Project status
92-
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
71+
See the [contribution guide](./CONTRIBUTING.md).

readme.rst

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)