| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Incrr Core is an distributed system that can atomically increment numbers, a production version can be found at incrr.io.
To build Incrr Core from source requires:
To run Incrr Core tests requires:
Once you've done these steps you should have the code running an a docker container on your machine. You can see how the distribution works, by looking at the logs
Below is an annoted TOML config file.
environment = "dev" # optional, default = "dev"
show_config = true # optional, show config on startup
[server]
force_http = true # optional, the server is https by default
[server.api]
domains = ["localhost"] # the whitelist of domain names to accept requests for
[datastore]
use_remote_db = "crdb" # optional, "crdb" or "mysql" is valid. If ommited will use
# the first registered datastore lexagraphlly sorted.
# crdb: cockroachDB
# mysql: MySQL Database
[datastore.remote.crdb] # use the datastore abbrevation for configuration
dsn = "<dsn>" # required, the DSN to use
[groupcache]
self = "127.0.0.1" # optional
http_pool = ["http://"] # required, the server ip addresses or names to use in
# the groupcache pool
Contributions are more than welcome. If you've found a bug, or have a feature request, please create an issue.
Incrr Core is available under the MIT License.
Copyright (c) 2018 Nika Jones copyright@incrr.io All Rights Reserved.
| Back | FazBrowse Home | New Git URL |