项目作者: SHARANTANGEDA

项目描述 :
A digital audio library to upload and view any audio files
高级语言: JavaScript
项目地址: git://github.com/SHARANTANGEDA/DigitalAudioLibraryLVPEI.git
创建时间: 2019-06-28T03:41:30Z
项目社区:https://github.com/SHARANTANGEDA/DigitalAudioLibraryLVPEI

开源协议:

下载


Digital Audio Library LVPEI

Project Description

This web Application completely built on MERN stack with MySQL for PBI Analysis.

-To Write

Getting Started

These instructions will help you in getting the application running as local host and deploying in production on a
privately hosted linux server.

Prerequisites

This application requires node >=10.x and npm >=6.9.x installed on your machine.

Instructions for running the application in development environment

  • AudioDigitalLibraryLVPEI
    • config
      • keys_dev.js(create this file)

In keys_dev.js add the following code

  1. module.exports = {
  2. mongoURI: 'YOUR_DATABASE_KEY',
  3. secretOrKey: 'YOUR_SECRET_OR_KEY',
  4. senderEmail: 'YOUR_SMTP_CONFIGURED_EMAIL',
  5. senderPassword: 'YOUR_SMTP_PASSWORD' };

After these files are added run the following commands from project folder

  • npm install It installs all the server node_modules
  • npm install client-install It installs the client node_modules
  • npm run dev It runs server and client on 5000 and 3000 port respectively

Instructions for running the app in production server

  • npm install It installs all the server node_modules
  • npm install client-install It installs the client node_modules
  • cd client get to client directory
  • npm run build Create optimized production build of react
  • cd .. Get back
  • In case of ubuntu server:
    1. NODE_ENV='production' PORT=5000 MONGO_URI="YOUR_DATABASE_STRING_HERE" SECRET_OR_KEY='SECRET_OR_KEY_HERE'
    2. SQLDB_USERNAME='SQL_DB_USERNAME' SQLDB_PASSWORD='SQL_DB_PASSWORD'SQLDB_DBNAME='SQL_DB_DBNAME'
    3. SQLDB_HOST='SQL_HOST_ADDRESS' SQLDB_PORT=3306 LVPEI_EMAIL='EMAIL_ADDRESS_FOR_VERIFICATION'
    4. LVPEI_PASSWORD='PASSWORD_FOR_EMAIL' nodejs server.js
  • In case of other OS:
    1. NODE_ENV='production' PORT=5000 MONGO_URI="YOUR_DATABASE_STRING_HERE" SECRET_OR_KEY='SECRET_OR_KEY_HERE'
    2. SQLDB_USERNAME='SQL_DB_USERNAME' SQLDB_PASSWORD='SQL_DB_PASSWORD'SQLDB_DBNAME='SQL_DB_DBNAME'
    3. SQLDB_HOST='SQL_HOST_ADDRESS' SQLDB_PORT=3306 LVPEI_EMAIL='EMAIL_ADDRESS_FOR_VERIFICATION'
    4. LVPEI_PASSWORD='PASSWORD_FOR_EMAIL' node server.js

That’s it you are set up………..

Author

Sai Sharan Tangeda - Github profile

Acknowledgements

I would like to thank Dr. Anthony Vipin Das for their support and guidance in building
the application.

Copyrights

  • This code can be used by any individual for development purposes without consent of author(#Keeps the spirit
    alive!!!
    ).
  • But any organization or individual of any kind other than LVPEI or the Author using it for commercial purposes
    must take permission of the author or above mentioned Dr. Anthony Vipin Das.