Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 26 days 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).

Awesome Lists containing this project

README

        

Welcome to Optolith Character Generator - Cloud ๐Ÿ‘‹



Version

License: Mozilla Public License 2.0


Twitter: onyxmoon_

> 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:[email protected]: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:[email protected]: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.

***