GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - getspine/spine-example-node: An example Spine application written in Node.js and Express 4

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
public/stylesheets
public/stylesheets
 
 
routes
routes
 
 
views
views
 
 
.gitignore
.gitignore
 
 
Backbone
Backbone
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.js
app.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

spine-example-node

This repo contains an example application designed to run on Spine, built with Node.js and Express 4.

Deploying to Spine

Once you've created a Spine account, be certain that you've installed the Spine CLI.

After installing the CLI, you can bring this application up with a single command:

$ spine deploy

To access your new application, ask Spine for your user info and note the subdomain:

$ spine user info
email: [email protected]
name: philcollins
docker_hub_username: philcollins
subdomain: demo

You can now access your application here:

http://example-<subdomain>.spi.ne

Running Locally

First, be certain that you've installed Node.js using the instructions on their site.

Once you've done so, you can run this application locally with the following commands:

$ git clone https://github.com/getspine/spine-example-node
$ cd spine-example-node
$ npm install
$ npm start

Building a Docker Container

If you'd like to modify your running container, you'll need to build and push a new image to the Docker Hub.

If you haven't already installed Docker, you can obtain it right here.

Once Docker is installed, be certain that you're logged in:

$ docker login

After you've successfully logged in, you can build and push your image with the following commands:

$ export DOCKER_ID_USER="your_docker_username"
$ docker build -t ${DOCKER_ID_USER}/example .
$ docker push ${DOCKER_ID_USER}/example

Please note: you'll need to change the image field within your Backbone file to point to the image name you pushed up.

About

An example Spine application written in Node.js and Express 4

Topics

clouddockerexpressnodespine

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.