Giter Site home page Giter Site logo

pi-tiler's Introduction

pi-tiler

TODO

init command

  1. npx pi-tiler init

    1. "Checking environment... (tested only in PI4B)"
    2. "You are ready to start?"
    3. "Copying global files to home folder..."
        ~/.pi-tiler/.env
        ├── PI_TILER_GIT_URL					# repository to pull updates
        ├── PI_TILER_GIT_TOKEN					# for private repositories
        ├── PI_TILER_PATH						# defaults to "~/my-pi-tiler"
        └── PI_TILER_APPS_GIT_TOKEN.{appName}	# tokens to use when pulling private apps
        ~/.pi-tiler/startup.js					# runs "cd $path && npm ci && npm start"
      
    4. "Installing multi-user terminal session manager (screen)..."
    5. "Configuring startup at boot time..."
    6. "Do you have a repository with the configuration? (yes/no)"
    7. No: "We recommend that you create a remote repository, so it can be easily restored if you have any problems. Do you want to skip this? (yes/no)"
    8. No>Yes: "The repository will be created locally, in the future if you want to make a backup, set the remote origin and push it."
    9. No>No | Yes: "What is the git URL?"
    10. No>No | Yes: "If it is private, set the pull+push token: (if its public, you can leave empty)"
    11. "What name do you want to call it? It will be place at your home folder. (my-pi-tiler)"
    12. "Initialization finished. Do you want to start the pi-tiler server now? (yes/no)"
    13. No: "Ok, bye."
    14. Yes: ~/.pi-tiler/startup.js
  2. npx pi-tiler start

    1. "Looking for configuration file ./variables/pi-tiler-config.json..."
      1. Not found: "pi-tiler not configured yet."
      2. Not found: "Do you want to define custom arguments to ngrok? (yes/no)"
      3. Not found: "Set the password to open the dashboard:"
      4. Not found: "Writing configurations to file..."
      5. "pi-tiler is enabled."
      6. "Starting ngrok with options: {...}"
      7. "Looking for apps..."
      8. "Found 2 apps, but only 1 is enabled."
      9. "Starting enabled apps..."
      10. "Startup finished."
      11. "Dashboard URL: ..."
      12. "Dashboard password: ..."

pi-tiler's People

Contributors

alynva avatar

Watchers

 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.