Skip to content

strato-net/strato-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33,401 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

STRATO Mercata logo

STRATO Platform

NOTE: README is WIP

Prerequisites

Build

  • Build everything:

    • OPTION A (with system-wide libraries):
      make
      
    • OPTION B (with Nix):
      NIX=true make
      
  • Only build one application (e.g. mercata-backend):

    <CONFIG_VARS> make mercata-backend
    
  • Only generate docker-compose YAMLs (will overwrite the existing):

    <CONFIG_VARS> make docker-compose
    

Run

Locally:

  • Start:
    ./start my_node_name
    
  • Wipe:
    ./forceWipe
    rm -rf my_node_name/
    

Dockerized:

  • Start:

    • cp docker-compose.allDocker.yml bootstrap-docker/docker-compose.yml
    • cd bootstrap-docker
    • Update strato-run.sh with your credentials:
      NODE_HOST='localhost' \
      network='helium' \
      OAUTH_CLIENT_ID='localhost' \
      OAUTH_CLIENT_SECRET='client-secret-here' \
      ./strato
      
      • Use network='helium' for testnet
      • Use network='upquark' for mainnet
    • sudo ./strato-run.sh
  • Wipe:

    cd bootstrap-docker
    sudo ./strato --wipe
    

Git Hooks

Pre-commit: Trailing Whitespace Removal

A pre-commit hook is available to automatically remove trailing whitespaces before committing.

Installation:

cp scripts/hooks/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

The hook uses scripts/delete-trailing-whitespaces.sh --staged to process only staged files and automatically re-stages them after cleaning.

About

STRATO platform

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors