Our main web site.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Server
Views
docs
scripts
wwwroot
.editorconfig
.gitattributes
.gitignore
.travis.yml
License.md
Readme.md
appsettings.json
appveyor.yml
codingteam.org.ru.fsproj
global.json
npm-shrinkwrap.json
package.json

Readme.md

codingteam.org.ru Build status

This is the code that services codingteam.org.ru web site.

Prerequisites

To install and run the site, you need to install crossplatform .NET Core tool and Node.js package manager.

Configuration

The only configuration parameter is the HTTP binding. Change the binding using ASPNETCORE_URLS environment variable. For example, ASPNETCORE_URLS=http://0.0.0.0:80 means listening port 80 for all addresses. The default setting is http://localhost:5000.

You may specify some of the application settings in the appsettings.json file. The main settings section is CtorSettings:

"CtorSettings": {
    "LogUrlPrefix": "http://<url to log service without last backslash>",
    "LogTimeZoneOffset": 0 // time zone offset on the log server (in hours)
},

Building

Prepare for the build (set the dependencies up):

$ npm install
$ dotnet restore

Build the project:

$ npm run build
$ dotnet build

Execute the local build:

$ dotnet run

Prepare the production-ready package:

$ dotnet publish -c release

Deployment

The site can be deployed to any platform capable of running dotnet. See deployment documentation for information about current production environment.