Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

docs: update how to install global cli tools (#791)

Guilherme Oenning07b379d51e5a
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2a1b96c33..98d59f3a9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -22,16 +22,17 @@ If you know these technologies or would like to learn them, lucky you! This is t
| Go 1.13+ | https://golang.org/ | To compile server side code |
| Node.js 12+ | https://nodejs.org/ or run `nvm use` if you have nvm installed | To compile TypeScript and bundle all the client side code |
| Docker | https://www.docker.com/ | To start local PostgreSQL instances |
-| cosmtrek/air | `go get github.com/cosmtrek/air/cmd/air/` | Live reload for Go apps. When you change the code, it automatically recompiles the application |
-| joho/godotenv | `go get github.com/joho/godotenv/cmd/godotenv/` | To load environment variables from a `.env` so that you don't have to change your machine environment variables |
-| magefile/mage | `go get github.com/magefile/mage/` | A cross-platform Make alternative |
+| cosmtrek/air | https://github.com/cosmtrek/air | Live reload for Go apps. When you change the code, it automatically recompiles the application |
+| joho/godotenv | https://github.com/joho/godotenv | To load environment variables from a `.env` so that you don't have to change your machine environment variables | #### 2. Setup your Go environemnt:
+| magefile/mage | https://github.com/magefile/mage | A cross-platform Make alternative |
#### 2. To setup your development workspace:
1. clone the repository.
-2. run `npm install` to install client side packages .
-3. run `docker-compose up -d` to start a local PostgreSQL database and Local SMTP (with [MailHog](https://github.com/mailhog/MailHog)) on Docker.
-4. run `cp .example.env .env` to create a local environment configuration file.
+2. navigate into the cloned repository.
+3. run `npm install` to install client side packages.
+4. run `docker-compose up -d` to start a local PostgreSQL database and Local SMTP (with [MailHog](https://github.com/mailhog/MailHog)) on Docker.
+5. run `cp .example.env .env` to create a local environment configuration file.
- **Important:** Fider has a strong dependency on an email delivery service. For easier local development, the docker-compose file already provides
a fake SMTP server running at port **1026** and a UI (to check sent emails) at http://localhost:8026. The `.example.env` is already
diff --git a/app/pkg/web/autocert_test.go b/app/pkg/web/autocert_test.go
index e3b3baec0..3b6cfbc6a 100644
--- a/app/pkg/web/autocert_test.go
+++ b/app/pkg/web/autocert_test.go
@@ -29,6 +29,6 @@ func Test_UseAutoCert(t *testing.T) {
Expect(cert).IsNil()
}
- // GetCertificate starts a fire and forget go routine to delete items from cache, give it 500ms to complete it
- time.Sleep(500)
+ // GetCertificate starts a fire and forget go routine to delete items from cache, give it 2sec to complete it
+ time.Sleep(2000)
}