Skip to content

gitsignore/moon-storage

Repository files navigation

Moon-Storage · GitHub license GuardRails badge

This is the API part of the following application Moon

Installation

  1. Local Docker installation

    • Install Moon-Storage by running:
    > git clone https://github.com/gitsignore/moon-storage && cd moon-storage
    • Build Moon-Storage's app according to your hardware and your environment:
    # Production build
    > docker build -t moon-storage .
    
    # Development build
    > docker build -f Dockerfile-dev -t moon-storage .
    
    # Arm v7 build (aka: Raspberry Pi)
    > docker build -f Dockerfile-arm32v7 -t moon-storage .
    • Run Moon-Storage's app:
    > docker run -p 8080:8080 --name moon-storage -d moon-storage

    You can provide parameters on run like:

    • Application port : -p <host_port>:8080
    • Database data volume : -v <host_data_folder>:/usr/app/data
    • Cors origin URI : -e CORS_ORIGIN_URI='http://localhost:3000'
  2. Local Node/npm installation

    • Install Moon-Storage by running:
    > git clone https://github.com/gitsignore/moon-storage && cd moon-storage
    • Then install dependencies:
    > npm install
    • Launch Moon-Storage app with:
    > npm run dev

    Replace the default 8080 port by another one in .env file

License

Moon-Storage is MIT licensed.

About

This is the API of the following application : Moon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published