Public | Automated Build

Last pushed: 2 years ago
Short Description
Scraper
Full Description

UI Configuration

  • Edit facebook, google, linkedin client id
    src/javascripts/global.js
    

Server Configuration

  • Edit facegook, google, linkedin, twitter secret id
  • Edit Proxy, port server
server/config.js

How to run

  • Install Git
  • Install NodeJS: https://nodejs.org/en/
  • Open Terminal, cd to Code folder
  • Run following command:
    #!javascript
    $ npm install -g bower gulp requirejs
    $ npm install
    $ bower install
    

DEVELOPMENT

$ gulp less
$ node server --dir=src

DEPLOYMENT FROM LOCAL TO REMOTE SERVER

  • Prepare code
    $ gulp less
    $ gulp build
    
  • After "gulp build", a "build" folder will be created, copy content inside the build to deployment folder on your Server
  • From your server, at the deployment folder, type following command to start server
    $ npm install
    $ node server --port=[port]
    

DEPLOYMENT FROM REMOTE SERVER

  • At Code Folder, type following command

    $ gulp less
    $ gulp build
    $ cd build
    $ npm install
    $ node server --port=[port]
    
  • *[port] is the port number that you want the web server listen on. default is 8081

  • Open browser and go to http://localhost:port
Docker Pull Command
Owner
quangthien84
Source Repository

Comments (0)