Skip to content

Latest commit

 

History

History
60 lines (56 loc) · 1.06 KB

README.md

File metadata and controls

60 lines (56 loc) · 1.06 KB

Website2 - seq/pdb

Sequence Input Server

Requirements :

Install MySQL installer latest version
Install python 3.11.5
Install ngrok 

Windows

Set up the flask environment

  pip install flask
  pip3 install pipenv
  pipenv shell
  pipenv install flask
  pipenv shell
  pip install mysql-connector-python 
cd .virtualenvs\<your_env>
or
pipenv shell
cd <your_directory>
set FLASK_APP=app.py
set FLASK_ENV=development
set FLASK_RUN_HOST=127.0.0.1
set FLASK_RUN_PORT=5000
flask run

Script files :

app.py index.html user_files.html all_files.html

Connection string to database

edit the string accordingly in app.py

db_config: dict = {
'host': 'localhost',
'user': 'root',
'password': '',
'database': 'mydb'

}

other files related to database:

Files found in syno: mydb-website2db.mwb , mydb_files.sql

Ngrok

Account details:
email: testdivya368@gmail.com
password :
**password found in syno ReadMe file

Usage :

Using visual studio code or any other compatible software