This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
1.7. CMS Setup ‐ Windows
Nicollas Silva edited this page Feb 11, 2024
·
3 revisions
- PHP 8 or greater - Download website
- MariaDB 10.x - Download website
- Composer - Download website
- NPM (LTS) - Download website
- Database Arcturus and Emulator - Download website
git clone https://github.com/nicollassilva/orioncms.git
(If you are using IIS, clone inside the C:/inetpub/wwwroot folder)
- Configure the data in the file:
APP_NAME="YourHotelName"
APP_URL=YourHotelDomain
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=YourDatabase
DB_USERNAME=YourUsername
DB_PASSWORD="YourPassword"
Example:
cd C:/inetpub/wwwroot/orioncms
composer install
yarn install
yarn build
php artisan key:generate
php artisan migrate --seed
APP_ENV=production
APP_DEBUG=false
If your hotel is on a domain (outside your local computer):
FORCE_HTTPS=true
APP_URL=https://...
- IIS
If you are using IIS, don't forget to enable full control permissions for users IUSR and IIS_IUSRS on the CMS folder under inetpub > wwwroot.
How do I do it?
Just right-click on the folder, choose properties, and go to the advanced tab. This way you can include the users necessary for it to work.