Reading the repo
Reading the repo
How to install on Linux
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 Linux?
Heads-upIt also needs 3 settings in .env (3 secret).
Then run bash setup.sh. 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.
git clone https://github.com/Vladimir-Romanets/news-portal.git cd news-portal
Node.js 20
# needs nvm: https://github.com/nvm-sh/nvm nvm install nvm use
Fill in secrets: VITE_NEWSAPI_API_KEY, VITE_GUARDIAN_API_KEY, VITE_NYT_API_KEY
cp .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 Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.