Giter VIP home page Giter VIP logo

mithrilalmanac's Introduction

This is the code for the Mithril Almanac

Demo

The site is here: https://www.mithrilalmanac.com

Setup

These instructions are for Windows, because that's what I develop on.

  1. Install Node and all that Jazz.

  2. Install Azure Functions Core Tools. You'll also need an Azure account. I did this using CosmosDB because it seemed like it might be fun to try something different and I have a bunch of credit from having a MSDN account. You'll either need to install the local emulator or just have a MSDN account.

  3. You need to create a symbolic link so the fc-functions and fc-web projects can share models. If you're on Windows, that looks something like this if you've cloned it into the repos folder mklink /D Models "C:\Users\<username>\source\repos\MithrilAlmanac\fc-web\src\Models"

  4. Set up your settings in fc-functions you'll need to add a local.settings.json file. It should look like this:

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "endpoint": "https://my-azure-endpoint",
    "key": "myKey",
    "googleClientId": "bunchofNumbers.apps.googleusercontent.com",
    "googleClientSecret": "itsasecret",
    "authenticationRedirectUrl": "http://localhost:3000/authenticate"
  },
  "Host": {
    "CORS": "*"
  }
}
  1. In fc-web you'll need to create an .env file
    REACT_APP_API_ADDRESS="http://localhost:7071/api/"
    REACT_APP_GOOGLE_CLIENT_ID="same-as-client-id-in-fc-functions"
  1. Now you should be able to run things. Run npm i and npm run in both simultaneously.

License: CC BY-NC 4.0

© Zachary Shuford 2020

mithrilalmanac's People

Contributors

pharylon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mithrilalmanac's Issues

Irregular Holidays

Add the ability to create irregular holidays, like Thanksgiving or (shudder) Easter.

Moons don't allow 0 offset days

When trying to add moons into the Eberron calendar I discovered it's not possible to set up moons to have 0 offset days, so the very first day of the year has a full moon. Entering 0, hitting save, and reopening reveals that that moon offset has reset to the previous value.

Create recurring event with a start date

I'd like to be able to create a recurring event that has a start date, such as a player character's birthday or an anniversary of a historical event in my campaign's past. Thank you!

Add Year Offset

Allow ability to specify how many days the first week was offset.

Allow custom colors

I'd like to color each month differently to show what season they fall into.

Line Breaks not Recognized

Line breaks are not displayed properly when using timeline view, resulting in everything being merged into one giant paragraph.
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.