FIX 404 page not found with make debug
- 主要语言
- Python
- 星标
- 381
- 派生
- 53
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am just trying to test the software so I followed https://github.com/AnubisLMS/Anubis/blob/main/docs/development_guide.md this tutorial and used the "sudo make debug" command to use Docker to get Anubis running,
1. After running "sudo make debug" I got database connection error in the logs as follows
`docker compose -p anubis exec api alembic upgrade head
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Access denied for user 'root'@'172.20.0.1' (using password: NO)'
Starting with DATABASE_URI: mysql+pymysql://anubis:anubis@db/anubis
Starting with CACHE_TYPE: RedisCache
Starting with SECRET_KEY: DEBUG
Starting with MINDEBUG: False
Starting with DEBUG: True
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
make startup-links
make[1]: Entering directory '/home/user/Projects/Anubis'
`
Then logs ended like this
`seed: http://localhost/api/admin/seed/
auth: http://localhost/api/admin/auth/token/superuser
auth: http://localhost/api/admin/auth/token/professor
auth: http://localhost/api/admin/auth/token/ta
auth: http://localhost/api/admin/auth/token/student
site: http://localhost/
make[1]: Leaving directory '/home/user/Projects/Anubis'`
and when i tried going to site from browser I am getting 404 error
need to understand why this is happening
贡献指南
评估
这个 Issue 还没有评估数据。