Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker update #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,43 @@
# email.go
send email using go

### Basic Requirements
Operating System: **Ubuntu 18.04**. Later releases of Ubuntu may also be compatible with these instructions.

Install/configure the following applications:
* git ([install instructions](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git))
* Don't forget to correctly set your git credentials:
```
git config --global user.name "FirstName LastName"
git config --global user.email "[email protected]"
```
* docker ([install instructions](https://docs.docker.com/install/linux/docker-ce/ubuntu/))
* Make sure you can run docker as a non-root user ([instructions](https://docs.docker.com/install/linux/linux-postinstall/)).
Note you will need to reboot your machine for the group changes (`groupadd`) to work.
* docker-compose ([install instructions](https://docs.docker.com/compose/install/))


### Setup

Get the code and get set up:
```bash
git https://github.com/Vikas14Web/c51_sym.git
cd c51_sym

# Run
docker-compose up -d
```

### To bash into the main docker
```bash
docker-compose exec app bash
```

### Running Tests

You may now run those scripts by using `composer csfix`, `composer cscheck` and `composer phpstan`!
```
csfix: this script will try to fix as many errors as possible
cscheck: this script will checks potential errors in your code
composer phpstan: PHPStan focuses on finding errors in your code without actually running it
```