Skip to content

stellar-fox/deneb

Repository files navigation


Stellar Fox Logo
stellarfox.net

Next generation, personal micro finance solutions.


Deneb - Backend for Cygnus Wallet

Moving Value at the Speed of Light


Introductory videos




build/run instructions

  • first, checkout the project

    $ git clone [email protected]:stellar-fox/deneb.git
    Cloning into 'deneb'...
    $ cd deneb
  • install dependencies

    $ npm i
  • prepare configuration file

    $ cp src/config/configuration.example.json src/config/configuration.json
    $ vi src/config/configuration.json
  • then, configure the database

    $ sudo -i
    # su - postgres
    $ dropdb stellarfox
    $ createdb stellarfox --owner some_user
    $ ^D
    # ^D
    $ psql stellarfox -U some_user -W -h 127.0.0.1 -f db/schema.sql
    
  • run in development mode

    $ npm start
    Compiling for 'development' ...
    [📠] deneb::4001 (v.0.2.0)
    
  • or build and run

    $ npm run build
    Compiling for 'production' ...
    Hash: 373148fb7dbae3d35840
    Version: webpack 4.23.1
    Time: 3094ms
    Built at: 2018-10-29 00:20:41
    Asset      Size  Chunks             Chunk Names
    deneb.js  46.6 KiB       0  [emitted]  deneb
    Entrypoint deneb = deneb.js
    [0] ./src/config/configuration.json 3.54 KiB {0} [built]
    [1] external "@xcmats/js-toolbox" 42 bytes {0} [built]
    ...
        + 3 hidden modules
    
    $ npm run production
    [📠] deneb::4001 (v.0.2.0)
    

Support

GAUWLOIHFR2E52DYNEYDO6ZADIDVWZKK3U77V7PMFBNOIOBNREQBHBRR