Altostra Docs

    ›Working with projects

    Getting Started

    • Welcome to Altostra
    • Connect your accounts
    • Install the developer tools
    • Log in from the CLI

    Tutorials

    • Create a Static Website
    • Create a Scalable Webhook
    • Create a Simple API Project
    • Try Altostra without connecting cloud accounts
    • CI/CD with Altostra CLI and Github Actions

    How To

      Working with projects

      • Create a new project
      • Deploy a project
      • Manage a project

      Working with environments

      • Manage an environment
      • Configure instances expiration for an environment

      Working with the Editor

      • Grant access to vendor services
      • Use the Parameter Store
      • Use a custom CloudFormation resource
      • Attach a custom policy to a Function
      • Connect a Function to VPC
      • Add filter policy to SNS subscription

      Organization account settings

      • Set General Settings
      • Connect a Git account
      • Connect Cloud Accounts
      • Manage log aggregation accounts

    CLI

    • Altostra CLI
    • Commands

      • templates
      • new
      • init
      • push
      • deploy
      • sls-deploy
      • sync
      • invalidate
      • domains
      • console
      • environments
      • images
      • instances
      • build
      • config
      • import
      • projects
      • tasks
      • activity-log
      • login
      • logout
      • account
      • whoami
      • api-key
      • docs

      Options

      • --debug
      • --verbose
      • Scripting options
    • Configuration files

    Errors And Solutions

    • Autnentication Required

    Technical Reference

    • Environments
    • Playground Environment
    • Instances
    • Project image
    • Image Repository
    • Log Shipping
    • Deployment Modes
    • Altostra Cloud Integration

    Integrations

      CI/CD

      • CircleCI

    Create a new project

    There are several ways to create a new project in Altostra:

    • From the Altostra CLI
    • From a code editor
    • From the Altostra Web Console

    When you create a new project, you can decide whether to start fresh, use a template or use an existing project.

    Create a project in Altostra CLI

    For more information about the commands below and their options, refer to the Altostra CLI documentation.

    Initialize in a new or existing directory

    Initialize the project:

    $ alto init
    ✔ Checking directory
    ✔ Initializing
    

    Initialize from a template

    List the available templates:

    $ alto templates
    ✔ Getting project templates
    Available templates:
     * static-website
     * simple-crud-service
     * scalable-webhook
    

    Then, initialize a new project from a template:

    $ alto init --template static-website
    

    Or, you can omit the template name to interactively select a template from a list:

    $ alto init --template
    ✔ Listing available templates
    ? Please select a template to initialize a project (Use arrow keys)
    ❯ static-website
      simple-crud-service
      scalable-webhook
    

    Create a project in Visual Studio Code

    Open the project folder in Visual Studio Code.

    Initialize in a new or existing directory

    Switch to the Altostra view: altostra-view

    Click on the Initialize Project button at the top to initialize the project: init-in-vscode

    Or, use the commands palette in Visual Studio Code (F1 or Cmd+Shift+P): altostra-cmd-palette

    The project is initialized and the Altostra Designer displays an initial empty design.

    Initialize from a template

    Switch to the Altostra view and click on the desired template in the templates list: project-template-vscode

    Create a project in Altostra Web Console

    If you have connected a Git hosting account, such as GitHub or Bitbucket, Altostra automatically creates a private Git repository for new projects and pushes an initial commit; if you haven't, then you can download the project directly from the Web Console.

    Create a project

    To create a project in the Web Console, go to Projects and click on Create Project, select a template and give your project a name.

    Fill in the project name and select a template: create-project

    When then project is created, you are presented with the project details page. You can find the link to the Git repository under the project name. new-project-page

    Clone the project to start working

    Now that you have a new project, clone the project from you Git account to a local development environment and start working.

    ← CI/CD with Altostra CLI and Github ActionsDeploy a project →
    • Create a project in Altostra CLI
      • Initialize in a new or existing directory
      • Initialize from a template
    • Create a project in Visual Studio Code
      • Initialize in a new or existing directory
      • Initialize from a template
    • Create a project in Altostra Web Console
      • Create a project
      • Clone the project to start working
    © 2021 Altostra, Inc.