Create Project
Experimental
Make sure you have setup the company project.
Creating a Project is done in two steps:
- Create the project directory and the Helper Script.
- Run the Helper Script to create the project structure.
Here we focus on the first step.
-
We can use the same
helperCompany.scala
script, we created in the Init Company step.cd ~/dev-mycompany ./helperCompany.scala project myProject
This creates:
dev-mycompany | projects | | myProject | | | helper.scala
-
Make
helper.scala
executable:cd ~/projects/myProject chmod +x helper.scala
-
Open the
mycompany-myProject
directory with your IDE (I use Intellij).
If you haven't released company-camundala
yet,
you need to run it at least locally (sbt publishLocal
)
and set the version in the helper.scala
manually.
//> using dep mycompany::mycompany-camundala-helper:VERSION NOT FOUND
// replace with:
//> using dep mycompany::mycompany-camundala-helper:0.1.0-SNAPSHOT