Hello dog
Pricing
Pay per usage
Go to Store
Hello dog
test
0.0 (0)
Pricing
Pay per usage
1
Total users
2
Monthly users
1
Runs succeeded
>99%
Last modified
3 years ago
.gitignore
# This file tells Git which files shouldn't be added to source control
.ideanode_modules
Dockerfile
# First, specify the base Docker image. You can read more about# the available images at https://sdk.apify.com/docs/guides/docker-images# You can also use any other image from Docker Hub.FROM apify/actor-node:16
# Second, copy just package.json and package-lock.json since it should be# the only file that affects "npm install" in the next step, to speed up the buildCOPY package*.json ./
# Install NPM packages, skip optional and development dependencies to# keep the image small. Avoid logging too much and print the dependency# tree for debuggingRUN npm --quiet set progress=false \ && npm install --only=prod --no-optional \ && echo "Installed NPM packages:" \ && (npm list --only=prod --no-optional --all || true) \ && echo "Node.js version:" \ && node --version \ && echo "NPM version:" \ && npm --version
# Next, copy the remaining files and directories with the source code.# Since we do this after NPM install, quick build will be really fast# for most source file changes.COPY . ./
# Optionally, specify how to launch the source code of your actor.# By default, Apify's base Docker images define the CMD instruction# that runs the Node.js source code using the command specified# in the "scripts.start" section of the package.json file.# In short, the instruction looks something like this:## CMD npm start
INPUT_SCHEMA.json
{ "title": "Input schema for the hello_word actor.", "type": "object", "schemaVersion": 1, "properties": { "message": { "title": "Message", "type": "string", "description": "Just enter your hello world message.", "editor": "textfield" } }, "required": []}
apify.json
{ "env": { "npm_config_loglevel": "silent" }}
main.js
1// This is the main Node.js source code file of your actor.2// It is referenced from the "scripts" section of the package.json file,3// so that it can be started by running "npm start".4
5// Import Apify SDK. For more information, see https://sdk.apify.com/6const Apify = require('apify');7
8Apify.main(async () => {9 console.log('Hello dog')10});
package.json
{ "name": "example-hello-world", "version": "0.0.1", "description": "This is an example of an Apify actor.", "dependencies": { "apify": "^2.0.7" }, "devDependencies": {}, "scripts": { "start": "node main.js", "test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1" }, "author": "It's not you it's me", "license": "ISC"}