This repository serves as a template for new repositories of the Spine framework.
Please see the config repository
for shared configurations and scripts. config
is added to this repository as a Git submodule.
Search for template
throughout the code and replace it with the name of your sub-project.
The “project” in this repository has two modules called template-client
and
template-server
. These modules enable client- and server-side dependencies correspondingly.
See corresponding build.gradle.kts
under these modules files for details.
The -client
module is for client-side API.
If your project is going to have server-side entities, you'd probably need to have
the -server
module so that the build produces the server-side artifact.
All it all, the structure of a new project highly depends on its goal, so feel free to change settings.gradle.kts file according to your needs.
The template repository goes with the rename file to avoid unnecessary Travis builds.
- Create encrypted value for the
GCS_SECRET
variable and put it underenv/global
section in the file. - Create encrypted value for the
GITHUB_TOKEN
variable and put it underenv/global
section in the file.
For detailed instructions please see:
Please follow this procedure and update the line which starts from
openssl aes-256-cbc
accordingly.
When you learn that config
was changed, run ./config/pull
to apply updated configurations
to your repository.