this project is a bookstore web application which can manage multi language version for translation.
this is the home page of our website.
this is how the backend structed.
this is how mysql database organized.
each book in sql is mapped from the root book in redis.
this is how redis database organized.
this is the example of ai translate
install pyenv and pipenv in your distribution first.
and then do following command to init python venv:
pyenv install 3.11.3
cd path/of/this/project
pyenv local 3.11.3
pipenv install
run backend:
# this command will background running
pipenv run python manage.py &
run frontend as dev:
cd web
npm run server
or you can use nginx to run the fronted:
# edit the nginx.conf to change the fronted path and server address
vim nginx.conf
nginx -c nginx.conf