Skip to content

netzulo/qadmin

Repository files navigation

QAdmin

Downloads on Github GitHub release

CIs for linux/windows

Branch Travis Appveyor CircleCI CodeClimate
master Maintainability

Prerequisites

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

NodeJs tested versions

  • iojs
  • lts/*
  • v7.x
  • v6.x
  • v5.x (not supported)
  • v4.x (not supported)

Installation

  • git clone <repository-url> this repository
  • cd qadmin
  • npm install

Running / Development

Code Generators

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

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Building

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

Deploying

For NGINX web server you can use this example file , don't forget to create link at sites-enabled directory :

# config name: etc/nginx/sites-available/qadmin
# port HTTP : 83
# port HTTPS : 2443
# path HTML files : /your/path/dist
server {
       listen 83 default_server;
       listen [::]:83 default_server;

       server_name mydomainorip.tk;

       listen 2443 ssl http2 default_server;
       listen [::]:2443 ssl http2 default_server;
       include snippets/self-signed.conf;
       include snippets/ssl-params.conf;
       root /your/path/dist;
       index index.html;
       location / { 
          try_files $uri $uri/ /index.html;
       }
}

Further Reading / Useful Links