- Notifications
You must be signed in to change notification settings - Fork12
golangci/golangci-web
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains code of web part of GolangCI.
We use React, TypeScript, Redux. Antd is used as a UI framework.
You need togenerate self-signed SSL certificate for local caddy (default self-signed caddy certificates aren't allowed by modern browsers):
mkdir -p sslopenssl 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.comAfter that addgolangci.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 caddysudo npm run caddynpm run dev
It openshttps://dev.golangci.com in a default browser.
npm run lint_fix
It will runtslint in auto-fix mode.
We deploy out code on Heroku. Heroku runsnpm run heroku-postbuild to build code.
npm run dev runs dev-server without server-side rendering, to enable it run like in production:
npm startSeeCONTRIBUTING.
About
Web for GolangCI
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.