https://github.com/onyxmoon/optolith-cloud
This repository contains the development data of the server for a cloud infrastructure service for Optolith Character Generator (https://github.com/elyukai/optolith-client).
https://github.com/onyxmoon/optolith-cloud
api-platform api-server cloud cloud-infrastructure-service dasschwarzeauge database doctrine2 dsa dsa5 php73 server symfony symfony5 tde thedarkeye
Last synced: 10 months ago
JSON representation
This repository contains the development data of the server for a cloud infrastructure service for Optolith Character Generator (https://github.com/elyukai/optolith-client).
- Host: GitHub
- URL: https://github.com/onyxmoon/optolith-cloud
- Owner: Onyxmoon
- License: mpl-2.0
- Created: 2019-08-15T21:03:48.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2022-09-30T20:42:16.000Z (over 3 years ago)
- Last Synced: 2025-03-23T22:12:56.146Z (11 months ago)
- Topics: api-platform, api-server, cloud, cloud-infrastructure-service, dasschwarzeauge, database, doctrine2, dsa, dsa5, php73, server, symfony, symfony5, tde, thedarkeye
- Language: CSS
- Homepage: https://cloud.optolith.app
- Size: 4.7 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
Welcome to Optolith Character Generator - Cloud ๐
> This repository contains the development data of the server for a cloud sync infrastructure service for Optolith Character Manager (https://github.com/elyukai/optolith-client).
### ๐ [Homepage](cloud.optolith.app)
## Install
This application needs
- PHP > *7.3*
- composer *latest*
Recommendend add-ons
- symfony development kit
To prepare the application and install all dependencies use in a terminal:
```sh
composer install
```
## Usage
**๐ Configuration**
Please add the following information to a an .env.local file
```dotenv
# App Mode
# 'prod' in production, will disable test tools and increase performance
APP_ENV=dev
# This secret string is 40 random characters that is used for CSRF protection.
# Generate one at: http://nux.net/secret
APP_SECRET=652f40901a1e2230e2b1ab86cc810835b13bc4a5
# Database configuration
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
# DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data.db
# Mail configuration
# While testing you can disable the need for an mail dsn with 'null://null'
MAILER_DSN=smtp://:@>
```
**๐ช Prepare database**
Prepare sql terms for database depending on current condition
```bash
php bin/console make:migration
```
Apply changes to database
```bash
php bin/console doctrine:migrations:migrate
```
**๐งช Development test run**
```sh
php bin/console server:run
```
**๐จ Deploy**
For deployment on specific webservers, take a look into the [symfony documentation](https://symfony.com/doc/current/deployment.html)
## Author
๐ค **Onyxmoon (Philipp Borucki)**
* Twitter: [@onyxmoon_](https://twitter.com/onyxmoon_)
* Github: [@Onyxmoon](https://github.com/Onyxmoon)
๐ค **elyukai (Lukas Obermann)**
* Twitter: [@elyukai](https://twitter.com/elyukai)
* Github: [@elyukai](https://github.com/elyukai/)
## ๐ค Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/Onyxmoon/optolith-sync/issues).
## Show your support
Give a โญ๏ธ if this project helped you!
## ๐ License
Copyright ยฉ 2019 [Onyxmoon (Philipp Borucki)](https://github.com/Onyxmoon).
This project is [Mozilla Public License 2.0](https://spdx.org/licenses/MPL-2.0.html) licensed.
***