Code Monkey home page Code Monkey logo

starter-project-template's Introduction

Starter Project Template

Use this repo to start a new project.

You likely want to download and not clone or fork. Then you can git init and start a new repo.

Download project

Follow the steps below to configure and initialize.

Setup

  • Run cd scripts; sh config.sh (or config.bat)
  • Setup app/_ins.sql with the correct Workspace & App Number
  • Decide if your project will use a static or dynamic template _release_template_static.sql or _release_template_dynamic.sql. You could optionally delete one of them.
  • Generate for your _release.sql script ASCII Art
  • Optionally remove directories that won't apply (ie. conversion)

Getting Started

Start a new release:

  • Run commands like the following depending on a static or dynamic release
rm ../release/[a-z]*.sql
cp ../release/_release_template_static.sql.sql ../release/_release.sql
rm ../release/[a-z]*.sql
cp ../release/_release_template_dynamic.sql.sql ../release/_release.sql
  • Optionally modify script/new.sh as needed
sh scripts/new.sh

Folder Structure

Folder Description
apex Application exports
bin Binary files, executable scripts, Sublime/VSC specific files
conversion Conversion and/or seed data scripts
data Seed data scripts
docs Project documents
install Installation scripts of none code objects like tables, types, and indexes.
lib Installation libraries (OSS, Logger, etc..)
release Current release scripts for changes and patching
scripts Usually re-runable scripts referenced by a release script
packages Packages (.pls & .plb or .pks & .pkb), triggers (not audit triggers) or sometimes stand alone procedures and functions.
sql Generic sql scripts that are not part of the application
tmp Garbage stuff, not under version control
synonyms Application Synonyms
triggers Application Triggers
views Application views
www Assets that go in the server: images, CSS, and JavaScript

Release Autocomplete

Note: This script was developed intnerally by Insum Solutions

Status: POC

This node.js application will automatically add files in the views and packages directory into a release file.

Release File Configuration

You must make sure that the following is included in your release file:

-- AUTOREPLACE_START
-- AUTOREPLACE_END

The code will automatically fill in the section between these lines.

Run

node ./release/release.js ./release/<release file>

Example:

# Go to releases folder in trunk/master of current SVN/Git project
cd releases

node release.js _release.sql

This application can be run multiple times as it keeps the substitution strings.

starter-project-template's People

Contributors

rimblas avatar vincentmorneau avatar

Stargazers

Ahmed M. Shaiea avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.