Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 917 Bytes

README.md

File metadata and controls

57 lines (35 loc) · 917 Bytes

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