Skip to content

thran/ufobal-web

Repository files navigation

Installation

Setup backend environment

With conda (recommended)

conda env create
poetry install

Without conda

requirements:

poetry install

Setup backend

Requirements

You probably need memcached running

DB

  1. Create mysql database and user.
  2. Set environment variable DATABASE_URL='mysql://username:password@localhost/db_name (if you have db ufobal with user and password ufobal, you can skip this step)
  3. Migrate database python manage.py migrate

Frontend stuff

npm install bower

npm install -g grunt grunt-cli

npm install

bower install

Development

build css and js

grunt

build automaticaly on file change

grunt watch

run server

python manage.py runserver

run tests

pytest

About

Informační Systém Ufobalu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published