https://github.com/echobind/directus-poc-mysql
https://github.com/echobind/directus-poc-mysql
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/echobind/directus-poc-mysql
- Owner: echobind
- Created: 2024-06-25T15:48:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T15:49:09.000Z (almost 2 years ago)
- Last Synced: 2026-02-04T07:27:58.141Z (4 months ago)
- Size: 147 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RICELIPKA Directus POC
POC for RICELIPKA to run the latest version of Directus.
## MySQL
Ensure MySQL is installed locally. If you need to import existing data, follow these steps:
1. Create a local MySQL DB:
```bash
mysql -u root -p
> CREATE DATABASE ricelipka_db;
> quit
```
2. Import Data (Optional):
```bash
mysql -u root -p ricelipka_db < backup_file.sql
```
## Getting Started
To get started with the project, follow these steps:
1. Install dependencies
```bash
npm install
```
2. Set up the Enviroment Variables
Copy the .env file
``` bash
cp .env.example .env
```
Edit the .env file with your configuration details.
## Directus
1. To bootstrap Directus and start the CMS:
```bash
npm run bootstrap
```
2. Start the CMS:
```bash
npm run start
```
Access Directus:
Visit http://localhost:8055 in your browser and log in using the credentials set in the `.env` file.