Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 821 Bytes

readme.md

File metadata and controls

39 lines (33 loc) · 821 Bytes

news_site

News site project on javascript, react, vite

Deployed site on github pages

Gihub-Pages

Self-deployment

  • Install npm libs:

    cd web/ &&\
    npm install
  • Run frontend:

    npm run dev
  • Install python libs:

    python3 -m venv .venv &&\
    .venv/bin/python -m pip install -r requirements.txt
  • Run backend:

    .venv/bin/python back
    • Other working env's:
      LOG_LEVEL='DEBUG'
      API_IP='0.0.0.0'
      API_PORT='8000'
      API_HTTPS='/etc/letsencrypt/live/example.com/'
      ALLOWED_ORIGINS='http://localhost:5173, https://grisha765.github.io'
      DB_PATH='sqlite://:memory:'
      TESTS='True'