Skip to content

AMPMgroup/Website2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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: [email protected]
password :
**password found in syno ReadMe file

Usage :

Using visual studio code or any other compatible software

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published