Skip to content

5e-Cleric/history-map

Repository files navigation

Welcome to my project, historyMap

HistoryMap is a web tool to register events in timelines and maps, using your own data, including your own custom date system!

It is built with the MERN stack, current temporarily hosted in Netlify + Render + Mongodb Atlas

Work In Progress

Right now, i am workin towards completing the MVP of this app, which includes:

  • Have different worlds, a world should include: map, timeline, events, factions?
  • In every world, add events to map, automatically added to timeline
  • For every event, add date, position, title, and description
  • Consult events based on map position, and world date in a timeline
  • CRUD events and worlds

How to install it

HistoryMap requires 3 programs to run:

  1. install node, version v17 or higher. (I use 20.18 atm)

  2. install mongodb (Community version)

  3. install git (select the option that allows Git to run from the command prompt).

Checkout the repo (documentation):

git clone https://github.com/5e-Cleric/history-map.git

Second, you will need to add the environment variable NODE_ENV=local to allow the project to run locally.

You can set this temporarily (until you close the terminal) in your shell of choice with admin privileges:

  • Windows Powershell: $env:NODE_ENV="local"
  • Windows CMD: set NODE_ENV=local
  • Linux / macOS: export NODE_ENV=local

If you want to add this variable permanently the steps are as follows: 1. Search in Windows for "Advanced system settings" and open it. 1. Click "Environment variables". 1. In System Variables, click "New" 1. Click "New" and write NODE_ENV as a name and local as the value. 1. Click "OK" three times to close all the windows. This can be undone at any time if needed.

  1. Run npm install to install the Node dependencies

Now that everything is installed, the following commands are used to open the tool:

(remember to run mongo)

  1. Run node server.js to open the server, leave that as its own

  2. Run npm run build and then npm run preview to use it locally, or

  3. Run npm run dev if you want to start a development server

You should now be able to go to http://localhost:4173 in your browser and use The Homebrewery offline.

Ports:

  • 8000 for development
  • 4173 for preview
  • 3050 is the server

I'll update this when needed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published