Skip to content

Starli0n/BoilerPlateDownloader

Repository files navigation

BoilerPlateDownloader

Heroku App Codeship Status SensioLabsInsight Coverage Status Dependency Status Heroku Log

Download files with a boiler plate server using a REST Api.

  • [GET] /hello/{name} return Hello <name> message
  • [GET] /list return the list of the downloaded files
  • [PUT] /download download a file
  • [DELETE] /delete delete file(s)

How to install

Start with the next chapiter if it is your first intall and if node.js is not installed.

> git clone https://github.com/Starli0n/BoilerPlateDownloader boilerplatedownloader
> cd boilerplatedownloader
> composer install
> npm install
> bower install
> gulp :publish
> gulp :deploy
> gulp :test
> gulp :doc

For PHP Tools for Visual Studio

BoilerPlateDownloader.phpproj > Properties > Application > Start action

  • Specific page public/index.html
  • Specific page publish/index.html
  • Specific page boilerplatedownloader/public/index.html

First Install of the toolchain

  • Install Node.js
> npm install -g npm
> npm install -g bower
> npm install -g gulp-cli

On Windows npm should be found here: C:\Users\Starli0n\AppData\Roaming\npm

Settings Proxy

For npm

> npm config set analytics false
> npm config set proxy http://user:[email protected]:port
> npm config set https-proxy http://user:[email protected]:port

In your Home directory, on Windows it is C:\Users\Starli0n, you should have

.npmrc

analytics=false
proxy=http://user:[email protected]:port
https-proxy=http://user:[email protected]:port

For bower

Set the file manually at the same location

.bowerrc

{
    "analytics": false,
    "proxy": "http://user:[email protected]:port",
    "https-proxy": "http://user:[email protected]:port"
}



Powered by Slim Framework 3 Skeleton Application

About

Download file to a boiler plate server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published