aarroyoc / mapaly

Mapaly is an educational geography website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mapaly

Mapaly is an educational geography website. On its operations its called: Mapaquiz

Development

poetry install --no-root
poetry shell
> python manage.py runserver

If you want to update packages:

poetry update

If you modify the models:

> python manage.py makemigrations
> python manage.py migrate

Local Testing

Docker:

docker-compose -f docker-compose.yml -f docker-compose.test.yml run django-test

Local (with Chromium/ChromeDriver installed): On Intermap:

npm run build
npm run bundle
npm run test

On Root:

cp intermap/build/bundle.js mapaly/static/
cp intermap/node_modules/leaflet/dist/leaflet.css mapaly/static/
cp intermap/node_modules/leaflet/dist/leaflet.js mapaly/static/
flake8 --ignore=E501
mypy .
black . --check
python manage.py test

Run app local

docker-compose up

Configurable settings (as environment variables):

  • AZURE_ACCESS_KEY

About

Mapaly is an educational geography website


Languages

Language:Python 40.3%Language:HTML 39.0%Language:TypeScript 8.8%Language:CSS 7.5%Language:JavaScript 2.9%Language:Dockerfile 1.4%