mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Set up Alembic for database migrations
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
7188743fc3
commit
a8a1f74a92
8 changed files with 252 additions and 3 deletions
4
INSTALL
4
INSTALL
|
@ -47,8 +47,8 @@ read the instructions below.
|
|||
|
||||
4) Install Python modules and dependencies:
|
||||
|
||||
# pacman -S python-mysql-connector python-pygit2 python-srcinfo python-sqlalchemy
|
||||
# pacman -S python-bleach python-markdown
|
||||
# pacman -S python-mysql-connector python-pygit2 python-srcinfo python-sqlalchemy \
|
||||
python-bleach python-markdown python-alembic
|
||||
# python3 setup.py install
|
||||
|
||||
5) Create a new MySQL database and a user and import the aurweb SQL schema:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue