Git Product home page Git Product logo

config-localhost's Introduction

Downloads Downloads Downloads Known Vulnerabilities

Mapic is an Open Source Web Map Engine.

For a technical overview, see the wiki.

Install

Install the Mapic CLI:

On OSX or Ubuntu:

# install mapic cli
git clone https://github.com/mapic/mapic.git
cd mapic/cli 
sudo bash mapic-cli.sh

Install Mapic

# enter folder
cd mapic

# configure
mapic configure

# start mapic
mapic start

Usage

Mapic CLI

Usage: mapic COMMAND

A CLI for Mapic

Management commands:
  start               Start Mapic stack
  stop                Stop Mapic stack
  restart             Stop, flush and start Mapic stack
  status              Display status on running Mapic stack
  logs [container]    Show logs of running Mapic server
  scale               Scale containers across nodes

Commands:
  configure           Automatically configure Mapic
  install             Install Mapic
  config              View and edit Mapic config
  domain              Set Mapic domain
  volume              See Mapic volumes
  dns                 Create or check DNS entries for Mapic
  ssl                 Create or scan SSL certificates for Mapic
  enter               Enter running container
  run                 Run command inside a container
  grep                Find string in files in subdirectories of current path
  ps                  Show running containers
  debug               Toggle debug mode
  version             Display Mapic version
  info                Display Mapic info
  test                Run Mapic tests
  bench               Run Mapic benchmark tests
  update              Update Mapic repositories

API commands:
  api login           Authenticate with (any) Mapic API
  api user            Handle Mapic users
  api upload          Upload data
  api project         Handle projects

Manage Mapic server

Commands for managing the Mapic server.

# start server
mapic start

# see status
mapic status

# show logs
mapic logs

# tail logs of specific container
mapic logs postgis

# stop mapic server
mapic stop

Troubleshoot most common issues

Ensure services are up, and look through logs.

# ensure all services are up
mapic status

# show logs, look for errors
mapic logs engine [mile | postgis | redis | mongo | nginx]

Restart Mapic

# stop services
mapic stop

# wait until all services are stopped (1 min)
mapic status

# restart services
mapic start

Update SSL certificate

# stop services
mapic stop

# wait until all services are stopped (1 min)
mapic status

# create ssl certificates
mapic ssl create

# restart services
mapic start

Interact with the Mapic API

Commands for interacting with any running Mapic server's API.

# login
mapic api login

# create user
mapic api user create

# promote to superuser
mapic api user super 

# see help for more commands and options
mapic api help

Depends

The Mapic CLI will attempt to install these automatically on Ubuntu and OSX.

Mapic is built with Docker. Docker images for Mapic are available on the Docker Hub.

Licence

Mapic is built entirely open source. We believe in a collaborative environment for creating strong solutions for an industry that is constantly moving. The Mapic platform is open for anyone to use and contribute to, which makes it an ideal platform for government organisations and NGO's, as well as for-profit businesses. Please see https://mapic.io for hosted solutions.

Mapic is licensed under the AGPL licence.

Project contributors

config-localhost's People

Contributors

knutole avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.