A simple web folder.
For Apache web servers.
.password
file containing the deisred password in folders (and subfolders) you want to protect.nopassword
file in folders (and subfolders) you want to deprotect (in case of protected parent)README.md
files in folders are interpreted and displayed on top cd _sf;composer install
_sf
folder in the root folder_sf_assets
folder in the root folder_sf_shares
folders for shares to be activated.htaccess
file in the root folder/_sf
/_sf_overrides
folder
config.php
and override configs defined in _sf/config.php
style.css
and override stylesHTTP Client Testing Service.
Fork of http://httpbin.org.
pip install -r requirements.txt
cd .
gunicorn -b localhost:8080 httpbin:app
PSL : A simple python script launcher with global params overridance.
lib.PSLUpdateGlobalsFromEncodedCallArgs()
hooks PSL in (previously defined global params can be potentially overriden)lib.PSLLaunch(scriptFile, scriptArgs, globalParams)
will launch the script scriptFile
, with args scriptArgs
, and will override global params with globalParams
globalParams
is a dictionnary of global params :
globalParams
are actually sent to the script as a base64 encoded string as the named arg --updateGlobals
inspect.currentframe()
scriptLauncher.py
is the launcher scriptscriptX.py
are test launched scriptsparams.json
is defining groups
of runs
run
is a python script + its global params overridancespython script1.py
python scriptLauncher.py all
python scriptLauncher.py smalls
pip install -r requirements.txt
RTree tests.
Based on https://github.com/aled/jsi
ant getDependencies
ant run
JavaRX boilerplate.
ant getDependencies
ant run
dockerManager is a local and remote Docker deployment tool for git versionned projects.
Ideal for web agency testing.
exportCommnds
and exportFilesAndFolders
)docker-machine
and install a machine named config/config.json > defaultDockerMachineName
)ssh-keygen -f ./config/id_rsa
and then give to repository provider (eg. github)composer install
config/config.json
if neededbin/dm install
Dockerfile
must be in PROJECT_ROOT/docker
folderREVISION
env variable.ENVIRONMENT
env variable, which can be override in project configuration attribute environmentVariable
Containers should not expose ports above config/config.json > publicAutoPortOffset
Project github.com:lucasmouilleron/dockeranagerTest
can be used for reference
config/projects.json
config/config.json > URI
"URI":"local"
"URI":"user@host"
ssh-copy-id
the URI
so remote calls won't need password typingbin/dm
and follow instructionsbin/dm run test
, bin/dm run test REVISION_NUMBER
mkdir classes
scalac -d classes *.scala *.java
javac -d classes -classpath $SCALA_HOME/lib/scala-library.jar:target/classes *.java
scala -cp classes test.HelloWorld
Test project for the dockerManger project : https://github.com/lucasmouilleron/dockerManager
cd docker
, docker build -t test .
and docker run -ti -p 8090:80 test
A NW.js boilerplate.
Grunt building and packaging.
The sample app is not relevant (old requirejs + angular test).
src
: the app
index.html
: entry pointpackage.json
: node webkit manifestassets
: app assets (css + images)app
: logic app files_build
: grunt buildersudo npm install bower -g
sudo npm install grunt -g
cd _build
npm install
: installs node modules of the buildergrunt install
: installs the app dev kit (requires password on mac os to extend open files limit)cd _build && grunt run
package.json
window->toolbar
to truerun
and click on the gear
_build/config.json
("platforms":["win", "osx"]
)cd _build && grunt package
cd src && npm install the_module --save-dev
require("the_module")
in the app codecd src && bower install the_module --save
js/libs/vendor/the_module/path/to/jsFile
in app/main.js
in path section and include module name in the requirejs
call