py-fias-front/README.md
2016-04-26 14:31:46 +03:00

1.6 KiB

Fias-face

Простой фронт-энд для fias-api, написан на Ember.js

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

  • ember server
  • Visit your app at http://localhost:4200.
  • You can use nginx with config like this:
    server {
      listen 80;
      server_name fias.example.com;
      server_tokens off;
      client_max_body_size 250M;
      root /var/www/fias-face;
    
      location / {
        try_files $uri /index.html;
      }
    }
    

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.