Reading the repo
Reading the repo
How to install on Windows
A modern, mobile-responsive news aggregation platform that empowers users to discover and personalize content. Features advanced search across multiple parameters (keywords, date, category, source) and customizable news feeds tailored to preferred authors, topics, and publications.
Saved setup from 6 h ago
Will it work on Windows?
Heads-upIt also needs 3 settings in .env (3 secret).
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/Vladimir-Romanets/news-portal.git cd news-portal
Node.js 20
winget install CoreyButler.NVMforWindows nvm install 20 nvm use 20
Fill in secrets: VITE_NEWSAPI_API_KEY, VITE_GUARDIAN_API_KEY, VITE_NYT_API_KEY
Copy-Item .env.example .env
corepack enable pnpm install
pnpm dev
First, make sure you have Node.js (or Docker) installed on your system.
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Open http://localhost:5173 with your browser to see the result.
To run the application in a Docker container with hot-reloading:
pnpm dev:docker
The application will be accessible at http://localhost:5173.
To build and serve the production-optimized static files using Nginx:
pnpm prod:docker
The application will be accessible at http://localhost:8080.
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.