AEproject
  • AEproject
  • doc
    • developer-documentation
      • AEproject CLI
        • aeproject export-config
        • Installing and Help
        • aeproject inspect
        • aeproject deploy
        • aeproject compile
        • aeproject test
        • aeproject compatibility
        • aeproject node
        • aeproject env
        • aeproject compiler
        • aeproject init
      • License
      • Migratе from 2.x.x to 3.x.x (after Iris hardfork)
      • Quick Start
  • .github
    • ISSUE_TEMPLATE
      • feature_request
      • bug_report
Powered by GitBook
On this page
  • Requirements
  • Install
  • Init a project
  • Running a local environment
  • Testing
  • Deploying

Was this helpful?

  1. doc
  2. developer-documentation

Quick Start

Requirements

In order to have aeproject working you must have installed the following:

nodejs 9.5.0
python
docker

Note: For older versions on widnows you can use docker-toolbox. This will install docker-compose as part of the toolkit. Please bear in mind that the your docker-compose version must be at least 1.20.0

Install

npm install -g @aeternity/aeproject

Init a project

aeproject init

This will create the project scaffold with an example contract including tests as well as a sample deployment script.

Running a local environment

aeproject env

This will run a local network (node, compiler and nginx-proxy) and prefund multiple addresses which can be used for tests.

To stop an already spawned local environment use aeproject env --stop

Node and compiler can also be started independently:

  • aeproject node

  • aeproject compiler

Testing

aeproject test

This will run the tests located in ./test folder.

Deploying

Run the following in order to execute the deployment file created from the aeproject init command:

aeproject deploy
PreviousMigratе from 2.x.x to 3.x.x (after Iris hardfork)Next.github

Last updated 3 years ago

Was this helpful?