Skip to content

Latest commit

 

History

History
76 lines (63 loc) · 2.03 KB

README.md

File metadata and controls

76 lines (63 loc) · 2.03 KB
Application logo

Site Launcher


Site Launcher is a web application which has purpose to simplify the developer's life by saving their working web application's links under multiple environments.

Currently the application supports 3 environments (Dev, Preprod and Prod) and 7 types of tags for links (front, back, extranet, api, github, gitlab and sentry)

Preview

Project setup

First you can start by cloning the repository.

git clone https://github.com/SimonRethore/site-launcher.git

Then you can run locally:

make install # TO CREATE DOCKER CONTAINERS & INSTALL DEPENDENCIES
make start # TO START CONTAINERS

Usage

Add your data in the assets directory:

  • /images for the site's image
  • data.json to define data that will be used by the app
[
    {
        "name" : "Hello World",
        "image" : "images/hello-world.jpg",
        "lead": true,
        "environments": [
            { 
                "name": "Prod", 
                "links": [
                    { 
                        "name": "Front-Office",
                        "tag": "front",
                        "value": "https://hello-world.fr"
                    },
                    { 
                        "name": "Back-Office",
                        "tag": "back",
                        "value": "https://hello-world.fr/admin"
                    }
                ] 
            },
            { 
                "name": "Dev", 
                "links": [
                    { 
                        "name": "Front-Office",
                        "tag": "front",
                        "value": "http://localhost:80"
                    },
                    { 
                        "name": "Back-Office",
                        "tag": "back",
                        "value": "http://localhost:80/admin"
                    }
                ] 
            }
        ]
    }
]