git clone https://github.com/b0wl/multidiary.git ~/multidiary
cd ~/multidiary
pip3 install -r requirements
- Install Docker
- Create ~/multidiary/.data if nonexisting
- Run
docker run --name multidiary-mysql -e MYSQL_ROOT_PASSWORD=pw -d -p 3306:3306 -v ~/multidiary/.data:/var/lib/mysql mysql
- Check, if you can connect to db at localhost:3306. You may use
MySQL workbench
- Create and populate tables using provided scripts
cd ~/multidiary
python3 multidiary.py
git clone https://github.com/b0wl/multidiary.git multidiary
cd multidiary
pip install -r requirements -r win_requirements
Server may be run on Docker like in linux or without it.
-
For Docker installation guide go here.
-
On Windows 10 Professional, Enterprise or Education with Microsoft Hyper-V check this guide.
-
On older Windows versions and Win10 Home check Docker Toolbox
-
For non-Docker solution install standard MySQL server.
- Download MySQL Installer
- Download and configure MySQL Server within MySQL Installer (for easier usage install MySQL Notifier to run/stop server)
- set user to
root
and password topw
- set address and port to
localhost:3306
- set user to
- Make sure to change
SQLALCHEMY_DATABASE_URI
inconfig.py
to'mysql+pymysql://root:pw@0.0.0.0:3306/Mikroblog'
- If you are running server without Docker, also change address from
0.0.0.0
tolocalhost
.
cd multidiary
python multidiary.py