Install GhostFolio On Windows

  1. Install PostgreSQL
  2. Install Redis Windows https://github.com/redis-windows/redis-windows/releases
  3. Clone GhostFolio from https://github.com/ghostfolio/ghostfolio.git
  4. Create database for GhostFolio using psql:
    “C:\Program Files\PostgreSQL\18\bin\psql.exe” -h localhost -U postgres
    create database ghostfolio;
  5. copy .env.example .env
  6. generate ACCESS_TOKEN_SALT:
    python -c "import secrets; print(secrets.token_hex(16))"
  7. generate JWT_SECRET_KEY:
    node -e “console.log(require(‘crypto’).randomBytes(32).toString(‘hex’));”
  8. modify .env 
  9. npm install
  10. npm run database:setup
  11. start server: npm run start:server
  12. start client: npm run start:client 
  13. open https://localhost:4200/en in your browser.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top