Comments (3)
Absolutely, that would be great.
from terra-mystica.
Awesome, any preference on format?
from terra-mystica.
Seems that a json file would be better than an environment variable. There's a couple of other things that should be configurable on a site-wide basis (e.g. the super-admin username), having a separate environment variable for each would be a pain.
Also would be good to make sure all the programs fail-fast if the config can't be found, preferably without changing the main scripts. Possible implementation:
- Add a module (e.g. SiteConfig).
- Have that export a %config variable.
- Have the module read the config file to %config at load-time, or die the config couldn't be read.
from terra-mystica.
Related Issues (20)
- Change from IPv4 to IPv6 messing with SPF HOT 2
- New starting VP rule HOT 2
- Repository doesn't have latest code HOT 2
- Feature to review played games (step through the log move by move and update visual board) HOT 1
- Feature request: public chat before joining game
- Feature request: estimate time to next move based on opponents' historic play schedule
- Feature request: Add relative turn order to "Waiting for [faction]"
- "Waiting for" blank when waiting for leech decisions prior to scoring
- Feature request: "+income" planning command HOT 3
- Feature request: low-bandwidth boolean API endpoint to check whether moves need to be made
- chat message notification with playerN instead of faction/name, also ui glitch with planning for another faction
- Allow pass for unavailable tile during planning
- FAV12 not calculated in final scoring when passing HOT 1
- Replace terra-mystica-spiel faction links with gamingstrategy.com links
- Events for first player in each round seem incorrectly logged HOT 3
- Feature-request: Allow randomly assigning factions
- Instructions for running local server HOT 1
- Bug: "Waiting for" empty when leech decision blocks
- The `Loon Lakes` Faction Heat Map starts from `B1`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terra-mystica.