Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.29 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.29 KB

ctypehub

The source code of https://ctypehub.galaniprojects.de

Prerequisites

Make sure you installed these required software before running this project:

Start the app locally:

After having cloned the repository on your local machine and defining all environment variables according to the .env.example, to start the app locally follow this steps.

  1. Make sure you have all dependencies installed, running:

    pnpm install
    
  2. Start the database the app will use, running:

    pnpm start-db
    

The Docker daemon needs to be running for this to work

If there is already a postgres container running, with an incompatible database, you can stop it with pnpm stop-db.

  1. Enter the dev watch mode from astro, running:

    pnpm dev
    

Now you can see the logs of the backend on the terminal and visit the frontend under the URL specified by the variable URL from the .env-file. (By default http://localhost:3000)

The database should start to populate from the configured indexer.