1.0.33 • Published 2 years ago
shnakkydoodle-core v1.0.33
shnakkydoodle-core
Getting started
Lets get started
Installing
nvm install 16.13.1
npm install
npm i -g npm
Running the application to npm
node ./server.js
nodemon ./server.js
Publishing to npm
Shnakkydoodle-core should be published to npm to allow it for use in the Shnakkydoodle-modules and application projects
npm login
npm version patch -m "Upgrade to %s for reasons"
npm publish
Run Configuration : On premise
This configuration is used when running a on server based infrastructure
docker pull redis
docker run --name redis -d -p 6379:6379 redis
docker pull memcached
docker run --name memcached -d -p 11211:11211 memcached
docker pull mongo
docker run --name mongo -d -p 27017:27017 mongo
PM2
npm install pm2 -g
pm2 start server.js
pm2 list
pm2 stop server
pm2 restart server
pm2 delete server
pm2 start server.js -i <processes>
pm2 logs
pm2 monit
pm2 start server.js && pm2 monit
Dockerise
This configuration is used when running a on server based infrastructure
docker build . -t stephenbooysen/shnakkydoodle-core
docker run -p 8080:8080 -d stephenbooysen/shnakkydoodle-core
# Get container ID
docker ps
# Print app output
docker logs <container id>
# Example
Running on http://localhost:8080
docker exec -it <container id> /bin/bash
docker login
docker tag shnakkydoodle-core:latest stephenbooysen/shnakkydoodle-core:latest
docker push stephenbooysen/shnakkydoodle-core:latest
docker pull stephenbooysen/shnakkydoodle-core:latest
docker run -it -p 8080:8080 -d stephenbooysen/shnakkydoodle-core:latest
Loadtesting
This configuration is used when running a on server based infrastructure
loadtest -P '{"data": "Logged Data"}' -c 1000 --rps 1000 -T 'application/json' 'http://localhost:8080/administrator/logging/api/info/'
1.0.22
2 years ago
1.0.21
2 years ago
1.0.20
2 years ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.29
2 years ago
1.0.28
2 years ago
1.0.27
2 years ago
1.0.33
2 years ago
1.0.32
2 years ago
1.0.31
2 years ago
1.0.30
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago