Closed fussel178 closed 3 years ago
What should the CLI do there? Generate the "whole" repository? Detect the structure and generate the PSC without git actions into ./gui
?
The CLI should the detect the "special" directory structure of the telestion-template and should initialize the PSC inside the gui
folder, and it should skip the git init
step. Otherwise the same behaviour as currently implemented.
The "new" initialization steps, as discussed with @jvpichowski, are:
README.md
.Now you have a "valid" Telestion application. Some projects do not need a client/frontend to interact with. If you need a client/frontend, then:
gui
folder by following the steps in the gui/README.md
.
These steps are installing node
and npm
and simply calling tc-cli init
on the root directory of the git repo.Now you have a full blown Telestion application with app and client/frontend.
See above.
@jvpichowski @fussel178 Are we able to add some unique "identifier" file (e.g., with an "unusual" name) in the root of the template (or, possibly, into the GUI folder)? I'm reluctant to define any folder that contains a gui
folder and a README.md
as that structure 🤔.
Possibly:
telestion-project.txt
This file is used to detect the folder structure within our automation tools.
DO NOT EDIT, MOVE, RENAME, OR REMOVE this file, or our development automation tools might not work as expected
I like the idea buT please don't name it .txt
.
Then simply gui/telestion-project
?
Maybe
gui/telestion-gui
because the project is the whole or gui/telestion.gui
and we would not need the gitkeep anymore in the gui folder
We finally found a solution and updated the template repository! https://github.com/wuespace/telestion-project-template
Please take a look at the new folder and file structure before taking further action.
Feature Request
Summary
Add support for the new directory structure in the template-telestion-application.
Details
As described below, things we need to do in the CLI:
core
andgui/README.md
folder structure. (a simple "directory exists" check should suffice)gui/README.md
.gui
directory.gui
folder.git init
step.feat: Initialized Telestion Frontend
(or something else)