Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Project Skeleton

Standard template for mobile app and backend project setup

android android Build Status ktlint

Obsoleted

The codebase is no longer maintained.

New frameworks and even language constructs (e.g. kotlin DSL & co-rountine) are available and we suggest to adopt them instead. This repository will be archived for reference only.

What's Included

android-java:

android-kotlin:

backend-nodejs


Android Setup

  1. Clone skeleton repo into a temperory directory
git clone https://github.com/oursky/skeleton skeleton
  1. Init your repo
mkdir new-project
cd new-project
git init
cp ../skeleton/.gitignore .
vi LICENSE
vi README.md
git add .gitignore LICENSE README.md
git commit -am "Initial commit"
  1. copy modules into new project, e.g. android-java
cp -R skeleton/android-java new-project/
  1. Adjust code
    • App Name
    • Manifest(Android)
    • Build Configuration
    • Rename package (com.oursky.skeleton to something else). Android How-To.
  2. Add the modules and review changes
git add android-java
git status
git commit -am "refs #1 project setup"
  1. Push your new project
git remote add oursky https://github.com/oursky/new-project
git push -u oursky master

Backend Setup

  1. Init your repo with the above instruction, if not already.
  2. copy modules into new project, e.g. backend-nodejs
cp -R skeleton/backend-nodejs new-project/
  1. Adjust code
    • package.json
  2. Add the modules and review changes
git add backend-nodejs
git status
git commit -am "refs #1 project setup"
  1. Push your new project
git remote add oursky https://github.com/oursky/new-project
git push -u oursky master

Run Docker

First time setup
> cd backend-nodejs
> docker-compose up -d
> make docker-initdb
Shutdown
> cd backend-nodejs
> docker-compose down
Start again
> cd backend-nodejs
> docker-compose up -d

What's Next

About

Skeleton and instruction to get start for common Android project

Resources

License

Releases

No releases published

Packages

No packages published