Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chialab/chialab.it
Our own home. You are welcome.
https://github.com/chialab/chialab.it
Last synced: about 2 months ago
JSON representation
Our own home. You are welcome.
- Host: GitHub
- URL: https://github.com/chialab/chialab.it
- Owner: chialab
- Created: 2022-04-14T09:39:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T16:07:29.000Z (about 2 months ago)
- Last Synced: 2024-11-07T17:23:58.727Z (about 2 months ago)
- Language: PHP
- Homepage: https://www.chialab.it
- Size: 802 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chialab.it & friends
## Websites
- Chialab Design Company (https://www.chialab.it)
- Chialab Open Source (https://www.chialab.io)
- Illustratorium (https://www.illustratorium.it/)## Local project setup
### Requirements
- PHP >= 8.2
- MySQL >= 8
- Composer
- Node.js
- Yarn### Install dependencies
```bash
composer install
``````bash
yarn install
```### Config
Copy the `config/app_local.example.php` file to `config/app_local.php` and set your local configuration.
```bash
cp config/app_local.example.php config/app_local.php
```and make sure to update the `Datasource` section with your MySQL connection settings.
Then, ensure the following environment variables are set:
- `FRONTEND_PLUGIN` - The frontend plugin to use (could be `BEdita/API` for API frontend or `Chialab` for websites frontends
- `THEME` - The theme to use (could be `Chialab` for chialab.it or `OpenSource` for chialab.io)You can set the environment variables in your virtual host, configuration:
```
SetEnv FRONTEND_PLUGIN Chialab
SetEnv THEME Chialab
```or in the `config/.env` file:
```
export FRONTEND_PLUGIN="Chialab"
export THEME="Chialab"
```## Folder structure
- chialab-design-company [required]
- footer [required]
- .....
- chialab-open-source [required]
- .....## Migrations
Run cake migrations to create or update the database schema:
```bash
composer migrate
```