Create Project

Experimental

Make sure you have setup the company project.

Creating a Project is done in two steps:

  1. Create the project directory and the Helper Script.
  2. Run the Helper Script to create the project structure.

Here we focus on the first step.

  1. 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
  2. Make helper.scala executable:

    cd ~/projects/myProject
    chmod +x helper.scala
  3. 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

Next Step: Project Development