Sign inSign up

mawburn/portaler

By mawburn

•Updated almost 5 years ago

Albion Online Mapping app

Image
1

5.2K

mawburn/portaler repository overview

portaler

An Albion Online Avalonion Roads shared mapping tool

discord ⁠



Netlify Status Docker Cloud Build Status Docker Cloud Build Status

Contents


⁠What it is

Portaler is a mapping tool for Avalonian Roads in Albion Online. It is fully Albion TOS compliant, because every user action is completely manual and nothing is automatically pulled or scraped from the Albion client or network packets. This tool simply provides a clean way for guilds/alliances share roads mapping internally.

The data we use to populate information is collected mostly from Albion Data Project⁠ as well as other manual crowd sourced methods.

screenshot

Portaler can either be self hosted or we can provide hosting for your group through in game currency. We are not allowed to take real money for our services, but if you would like to support the project monetarily out of the kindness of your heart, please see the Supporting⁠ section at the bottom.


⁠Monorepo

This is a monorepo utilizing Yarn Workspaces⁠. Individual applications can be found in the packages⁠ folder.

⁠About the codebase

We have split up the project into 2 main workspaces. Main Packages and Shared.

⁠Main Packages

Contained under packages/* folder

⁠Locally shared libraries

Contained under the shared/* folder

  • data-models⁠
    • A collection of commonly shared data functions and models for the database & redis
  • types⁠
    • Just simply typescript type definitions shared across the different packages
  • universal-utils⁠
    • A collection of common utilities that can be used in either the frontend or node servers

⁠Running

If you just want to run for yourself locally, please see the instructions here⁠.


If you would like to run the project on your own server, we provide Dockerhub images and you can find a docker-compose.yml file in the docker⁠ folder. If you would like to just run the project, you do not need to build the dockerfiles contained in the docker folder, just simply update the .env.example file with your variables, the variables in the docker-compose.yml and run:

docker-compose up -d

Links to our dockerhub images:

You will also need to create an application and a Discord developer account. You can find that here⁠.

If you need help setting up docker, check out the instructions for running locally⁠ just use the docker compose contained in the docker⁠ folder instead.


⁠Supporting

If you'd like to support the project, we would much rather you give your support to the Albion Data Project⁠. This is the backbone of where we get our information, as well as virtually all other Albion fan based projects get their data.


However, if you'd really like to just buy us a coffee to throw a few bucks at server costs, feel free to use the Ko-Fi link below. You will receive no perks for this, other than our gratitude.

ko-fi


⁠Development

This project requires that you have yarn installed.

Yarn installation instructions⁠

⁠Overview of root scripts

Be sure to check out the scripts we have provided in the root package.json⁠ file, that will make your life easier.

There are a number of scripts that can be run from the root of the project that make life a little easier.

To run the following commands, from the root of the project simply type:

yarn <command>
  • build:data - Builds the shared/data-models package
  • build:utils - Builds the shared/universal-utils package
  • build:shared - Builds both of the above concurrently
  • dev:api - Starts the api-server in development mode
  • dev:bot - Starts the discord-bot in development mode
  • dev:front - Starts the frontend in development mode
  • build:api - Builds the api-server for production
  • build:bot - Builds the dicsord-bot for production
  • build:front - Builds the frontend for production
  • start:api - Starts the api-server from production mode (must be built first)
  • start:bot - Starts the discord-bot from production mode (must be built first)
  • clean:shared - Deletes the node_modules folder for all the shared/* modules
  • clean:packages - Deletes the node_modules folder for all the packages/* modules
  • clean - Deletes all node_modules folders everywhere
  • clean:out - Deletes all built projects
  • clean:all - Deletes all built projects & node_modules
  • lint - Provides a lint output of all the files in the entire project
  • lint:fix - Attempts to lint and fix all the files in the entire project

Tag summary

Content type

Image

Digest

Size

96.1 MB

Last updated

almost 5 years ago

docker pull mawburn/portaler