There are a many ways to run Nextcloud:
- on localhost, on a VPS, or in a Docker container
- using Apache, nginx,
php -S
- from git, from zip, via snap
- With nc-sciencemesh enabled: pondersource/sciencemesh-nextcloud#demo-setup
<?php | |
//REQUIREMENTS! | |
//"phpseclib/phpseclib": "^3.0" | |
//"lcobucci/jwt": "^5.0" | |
require_once __DIR__ . '/vendor/autoload.php'; | |
$json = '{ | |
"keys": [ | |
{ |
There are a many ways to run Nextcloud:
php -S
/* Add dependencies needed to call `addPageToStorage` */ | |
$('head').append('<script src="chrome-extension://eiimnmioipafcokbfikbljfdeojpcgbh/options.js"></script>'); | |
$('body').append('<span id="login_label" style="display:none;"></span>'); | |
trackButton = function(){}; | |
init = function(){}; | |
/* Define our custom event handler */ | |
function handleLoginEvent(event) { | |
if(event.keyCode === undefined || event.keyCode === 13){ |
# Add this config | |
$ heroku config:add LD_LIBRARY_PATH=/app/php/ext:/app/apache/lib | |
# Login to Heroku CLI | |
$ heroku run bash | |
# The second argument here is the path to your script | |
~ $ ~/php/bin/php -f ~/www/index.php |
#!/bin/bash | |
phpunit | |
EXIT_CODE="$?" | |
if [ $EXIT_CODE -eq "255" ]; then | |
# Wrapping the error code to 1, so bisect marks this build as "bad" and continues. | |
exit 1 | |
fi |