Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Cookiecutter template for quickly making quality spaces apps for ThreatConnect.

Notifications You must be signed in to change notification settings

fhightower-templates/threatconnect-angular-spaces-template

Repository files navigation

ThreatConnect Angular Spaces App Template

PROJECT MOVED TO GITLAB: https://gitlab.com/fhightower-templates.


NOTE: This app is not supported by ThreatConnect. While I'll attempt to keep it up to date and working well, please use at your own risk!

Create a ThreatConnect spaces app in less than 30 seconds.

Creating a spaces app in less than 30 seconds

Usage

cookiecutter https://github.com/fhightower-templates/threatconnect-angular-spaces-template.git

Prerequisites

  1. cookiecutter (required)

You will need to install cookiecutter. This can be as easy as pip install cookiecutter, but there are other options available in the cookiecutter documentation.

  1. bumpversion (optional)

Bumpversion is really handy for incrementing version numbers. This app template is designed to work with bumpversion so that the following commands will increment the version number of the app appropriately:

  • bumpversion patch
  • bumpversion minor
  • bumpversion major

You can read more about bumpversion here.

Details

This app is based on the example app here.

Feel free to raise an issue if you find anything wrong or have a suggestion.

There is a similar version of this template to create spaces apps using Javascript here: https://github.com/fhightower-templates/threatconnect-js-spaces-template.

Directory Listing Overview

TCX_-_Interactive_Browse:

angular@dev:TCX_-_Interactive_Browse$ ls
e2e/           karma.conf.js  package.json        README.md      tslint.json
Gruntfile.js   Makefile       package-lock.json   src/
install.json   node_modules/  protractor.conf.js  tsconfig.json

TCX_-_Interactive_Browse/e2e:

angular@dev:TCX_-_Interactive_Browse/e2e$ cd e2e; ls
app.e2e-spec.ts  app.po.ts  tsconfig.e2e.json

TCX_-_Interactive_Browse/src:

angular@dev:TCX_-_Interactive_Browse/src$ cd src; ls
app/          favicon.ico  polyfills.ts  tsconfig.app.json
assets/       index.html   styles.less   tsconfig.spec.json
environments/ main.ts      test.ts       typings.d.ts

TCX_-_Interactive_Browse/app: This is where your main app development occurs

angular@dev:TCX_-_Interactive_Browse/app$ cd app; ls
app.component.css      app.component.ts       main.component.html
app.component.html     app.module.ts          main.component.ts
app.component.spec.ts  app-routing.module.ts
  • main.component.html (Spaces app main html page)
  • main.component.ts (Spaces app main typescript)

About

Cookiecutter template for quickly making quality spaces apps for ThreatConnect.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published