A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/golangci/golangci-web below:

GitHub - golangci/golangci-web: Web for GolangCI

This repository contains code of web part of GolangCI.

We use React, TypeScript, Redux. Antd is used as a UI framework.

You need to generate self-signed SSL certificate for local caddy (default self-signed caddy certificates aren't allowed by modern browsers):

mkdir -p ssl
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout ssl/golangci.key -out ssl/golangci.crt -extensions san -config <(echo "[req]"; echo distinguished_name=req; echo "[san]"; echo subjectAltName=DNS:dev.golangci.com,DNS:api.dev.golangci.com) -subj /CN=dev.golangci.com

After that add golangci.crt to the list of your OS trusted root CAs.

Map domains to the localhost:

sudo sh -c 'echo 127.0.0.1 dev.golangci.com >>/etc/hosts'
sudo sh -c 'echo 127.0.0.1 api.dev.golangci.com >>/etc/hosts'

The following will run Caddy server in background:

brew install caddy
sudo npm run caddy

It opens https://dev.golangci.com in a default browser.

It will run tslint in auto-fix mode.

We deploy out code on Heroku. Heroku runs npm run heroku-postbuild to build code.

npm run dev runs dev-server without server-side rendering, to enable it run like in production:

See CONTRIBUTING.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4