Instructions for a new Sukarix application
- Introduction
- Step 1: Create a new Sukarix project
- Step 2: Navigate to the project directory
- Step 3: Initialize vagrant
- Step 4: Access the Application
- Configuration Details
Introduction
To set up your Sukarix application with Vagrant follow these steps:
Step 1: Create a new Sukarix project
Run the following command to create a new Sukarix project using Composer:
composer create-project sukarix/application
It is also possible to create a new Sukarix project using the current development version of the framework by adding --stability=dev to the command.
composer create-project --stability=dev sukarix/application
Step 2: Navigate to the project directory
Once the project is created, navigate to the project directory:
cd application
Step 3: Initialize vagrant
The Sukarix project includes a Vagrant setup to help streamline the development environment. Initialize Vagrant by running:
vagrant up
This command will set up the Vagrant environment and automatically install PostgreSQL and Redis.
Step 4: Access the Application
After the Vagrant setup is complete, the application will be accessible via:
http://sukarix.test
Configuration Details
- PostgreSQL and Redis are installed by default in the current version of the Sukarix project.
- Ensure your local environment is configured to handle
.test
domains (you might need to adjust your hosts file if necessary).
Accessing the Application
After running vagrant up
, you can access your application at http://sukarix.test
. If you encounter issues accessing
the site, ensure your system's hosts file includes the correct entry, typically something like:
192.168.56.100 sukarix.test