Skip to content

Latest commit

 

History

History
executable file
·
78 lines (48 loc) · 2.06 KB

README.md

File metadata and controls

executable file
·
78 lines (48 loc) · 2.06 KB

Audimax - Audio Library Web Application

'audimax ss'

How to setup the environment

  1. Install nodejs, python, MySQL server on pc.
  2. Install python Virtual Environment module.
  3. Run npm install to install npm packages.
  4. Create virtual python environment inside dist folder using python -m venv venv.
  5. Activate the virtual environment using .\venv\Scripts\activate and install all required python modules using pip install -r requirements.txt.

How to set up the database

  • Create a new database on localhost and give a name as you like. Then create your user account.

  • Rename the db_user, db_pswd, db_host, and db_name in the .env file.

  • Then put the .env file to the "dist folder".

  • Change the directory to the "temp db asset" on Windows PowerShell and Open the terminal and run the virtual environment in the terminal.

  • Open python shell.

  • Then run "from app import db" command. From this, all tables will be created in the database.

Run Locally

Clone the project

  git clone https://github.com/Audimax-library/audio-library-web-app.git

Go to the project directory

  cd audio-library-web-app/dist

Activate the virtual enviroment

  .\venv\Scripts\activate

Run the server

  python run.py

Tech Stack

Front End: Tailwind CSS, CSS, HTML, JS, jQuery

Back End: Flask, Ajax, Python

Database: MySQL

Cloud services: GCP (Load balancing services, Cloud and storage services)

Authors

Feedback

If you have any feedback, please reach out to us at [email protected]