Bit-Box Svelte Themes

Bit Box

Elevate your coding skills with Bit Box

Elevate your coding skills with Bit Box

🎬️ Preview

  • Main Page

  • Share Box

🚀 Installation

  1. Clone this repository

    git clone https://github.com/swayam25/Bit-Box bit_box
    cd bit_box
    
  2. Configure the config.json file

    Configuration
    • server: Backend server url

    • donateURL: Donation url

  3. For backend

    • Install dependencies
      cd server
      python -m venv .venv
      source .venv/bin/activate
      pip install -r requirements.txt
      
    • Start the server
      fastapi dev --port 2501
      
  4. For frontend

    • Install dependencies
      cd client
      npm i
      
    • Start the client
      npm run dev -- --port 2500
      
  5. URLs

    • Backend: http://localhost:2501
    • Frontend: http://localhost:2500

🌐 Production

  1. Follow steps 1 & 2 from the installation guide. Ignore if already done.

  2. For backend

    • Install dependencies (Ignore if already done)
    • Start the server
      fastapi run --port 2501
      
  3. For frontend

    • Install dependencies (Ignore if already done)
    • Build the client
      npm run build
      
    • Preview the client
      npm run preview -- --port 2500
      
  4. URLs are same as the installation guide.

[!TIP] Checkout the deployment guide for more information.

Top categories

Loading Svelte Themes