This beginner guide will help you to start using ORCHID. We've listed up the main steps you should perform to launch the project. The platform is based on the Laravel Framework,
therefore first thing you shall do is install
Laravel and check if your computer meets the system requirements.
The platform and the framework use the Composer to provide and control your dependencies.
Install the framework with the
composer create-project command in your terminal:
$ composer create-project laravel/laravel orchid-project "5.7.*" --prefer-dist
This will create a new folder
orchid, download some dependencies into it and even generate main folders and files required to start your work. In other words it will install your new framework project.
Don't have the Composer? It's easy to install it following the tutorial at download page.
Don't forget to
- Set the «chmod -R o+w» rights for folders
- Edit the
Go to the created project folder and execute the following command:
$ composer require orchid/platform
Notice. If you have installed the Laravel the other way you will have to generate the key using the command
php artisan key:generate
Notice. You also need to create a new database, add the credentials to the
.envfile and add your app URL to the
php artisan orchid:install
Run the following command to create a user with supreme (at the moment of creation) rights passing the username, e-mail and password:
php artisan orchid:admin admin firstname.lastname@example.org password
To run the project you may use the built-in server:
php artisan serve
Open the browser and go to
http://localhost:8000/dashboard. If everything works properly you will see the dashboard login page. Later, when you will end your work, stop the server with
Ctrl+C shortcut in your terminal.
Notice. If the used runtime environment is set to work on other domain, (eg: orchid.loc), the dashboard will not be acessible and you will have to set it in config file
.env. This allows to make a dashboard accessible from other domains or subdomains, for example,