Skip to content

bcjobs/analytics-dashboard

Repository files navigation

BC Jobs Analytics Dashboard

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

Running Tests

  • ember test
  • ember test --server

Building

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

Deploying

Preparation:

  • Make sure lftp is installed
    • brew install lftp
  • Make sure deploy.sh exists:
    • touch deploy.sh
  • Set content of deploy.sh to:
#!/bin/bash

FTP_USER={user}
FTP_PASSWORD={password}
FTP_HOST={host:port} (example: www.example.com:29)
FTP_DIR=/

# Deploy assets first
lftp -c "open -u $FTP_USER,$FTP_PASSWORD $FTP_HOST; set ssl:verify-certificate no; mirror --exclude index.html -R dist/ $FTP_DIR"

# Deploy index.html
lftp -c "open -u $FTP_USER,$FTP_PASSWORD $FTP_HOST; set ssl:verify-certificate no; put -O $FTP_DIR dist/index.html"
  • Make sure line endings are unix based. For Linux, you can use dos2unix (dos2unix deploy.sh) to faciliate this.

Deploy

  • make deploy

Further Reading / Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •