Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyedo authored Jul 14, 2022
1 parent 1dde4a7 commit 2c03834
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

1. Having MySQL install
2. creating new user, snippetbox db, users table, and snippets table
```
```sql
mysql -u root -p
#enter your password

Expand Down Expand Up @@ -72,26 +72,26 @@
You can install the project by forking or cloning
You need to add s self-signed TLS certificate

```
```bash
mkdir project_path/tls
cd project_path/tls
go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=lslocalhost
```

## Running the Project
you can run the project by :
```
```bash
go run ./cmd/web #Check https://localhost:4000 for the web
```

you can run the test by :

```
```bash
go test -v ./...
```
you can run the coverage by :

```
```bash
go test -cover ./...
```

0 comments on commit 2c03834

Please sign in to comment.