When developing an Attlaz project on your local machine, you need to have Docker installed. Tested on Docker >=17.
You can run an Attlaz project without Docker but we cannot guarantee that everything works fine.
Bitbucket or Github repository To deploy code Attlaz will fetch the code from a repository.
Before you can start using Attlaz you should create an account. Click [here](https://attlaz.com/register) if you don't already have an account. Make sure to check your packagist credentials (TODO)
Run following command to create a new blank Attlaz project on your local machine if you have PHP 7.2 and composer installed locally: *(the dot points to the folder where the project is going to be installed, in the case of a dot in the current directory. Make sure it is empty)*
composer create-project attlaz/project .
docker run --rm -it -v %cd%:/app prooph/composer:7.2 create-project attlaz/project .
docker run --rm -it -v $(pwd):/app prooph/composer:7.2 create-project attlaz/project .
- username: attlaz
- password: zY5oTBIZw8qPBCSNnkuRkXhZW0wqhjzE
Once installed test the installation with:
The project is not initialized
Now lets initialize the project.
Go to the app and copy following your
Api key and
Run following command to start setup:
The setup command will create an .env file. If you want to run setup again you will need to remove the .env fileThe setup will ask you following questions:
Enter the API endpoint > choose production (this only refers to the API environment. You can work on the staging API, it is not a stable environment) Enter your API client id > Enter api client id Enter your API client secret > Enter you api secret Choose a project? > Choose the project you want to setup Environment? > Choose the local environment Mode > Developer
Now you can start creating commands, deploy your code