-
Notifications
You must be signed in to change notification settings - Fork 0
Build, Develop, Launch
Jessica Mulein edited this page Sep 14, 2021
·
9 revisions
- 64 bit recommended
- >16 GB memory required
- 32+ GB memory recommended
- Windows 10+ recommended
- Visual Studio 2022 recommended, Rider EAP otherwise (as of 9/12/21)
- Docker Desktop for windows recommended
- Recommend Windows Terminal for command line with a Git Bash session
git clone --recursive git@github.com:BrightChain/BrightChain.git
- Use Visual Studio 2022 (preview at this time) and open All.sln
cd BrightChain
dotnet build All.sln
- Install nuget 6.0+ Download
- Make sure to add ~/.nuget/packages as a local source to Visual Studio and use dotnet
cd BrightChain
dotnet pack All.sln
nuget add .... ~/.nuget/packages (?)
TODO
cd BrightChain/src/BrightChain.API
docker build -t brightchainapi:latest .
cd BrightChain
dotnet test All.sln
$ docker run -it --rm -p 443:443 -p 80:80 --name certbot -v https:/etc/letsencrypt -v varhttps:/var/lib/letsencrypt certbot/certbot certonly --standalone
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): *.brightchain.net,brightchain.net,*.therevolution.network,therevolution.network
Requesting a certificate for *.brightchain.net and 3 more domains
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/brightchain.net/fullchain.pem
Key is saved at: /etc/letsencrypt/live/brightchain.net/privkey.pem
This certificate expires on 2021-12-11.
These files will be updated when the certificate renews.
NEXT STEPS:
- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https://certbot.org/renewal-setup for instructions.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ docker run --rm -itd --name=brightchainapi -v https:/etc/letsencrypt -v varhttps:/var/lib/letsencrypt --privileged -p 10.2.0.4:80:80 -p 10.2.0.4:443:443 -e ASPNETCORE_URLS="https://+;http://+" -e ASPNETCORE_HTTPS_PORT=443 -e DOMAIN_NAME=brightchain.net -e USE_STAGING_SERVER=false brightchainapi:splash
TOC | Intro | 1 - Arch | 2 - Auth | 3 - Quorum | 4 - Identity/Reputation | 5 - Contracts/Crypto
Documentation updated regularly. You can pull the revision history if you check out the wiki's git repo.
Please consider joining. Doesn't matter if you're new to coding or crypto. I/We can help! Devel & Collab