Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dorfmap

David Travis

Setup

Development setup

Prerequisites

  • perl (5.x)
  • cpan (latest)
  • nodejs (10.x)
  • yarn (latest)

Step by step

Setup your own dorfmap for local development.

  1. Clone repository and pull submodules
git clone git@github.com/chaosdorf/dorfmap.git
git submodule update --init
  1. Create log dir and set permissions
sudo mkdir -p /var/log/dorfmap
sudo chown $USER /var/log/dorfmap
  1. Change into newly cloned repository
cd dorfmap
  1. Set dorfmap variables for development
./backend/dorfmap-debug
  1. Install perl dependencies
cpan DateTime
cpan IO::Compress:Gzip
cpan Astro::Sunrise
cpan File::Slurp
cpan Mojolicious::Lite
cpan Mojolicious::Plugin::BrowserDetect
  1. Install nodejs dependencies
yarn
  1. Start development server
yarn dev:server