https://github.com/sagleft/utopia-faucet
An example of creating a crane for distributing Cryptons
https://github.com/sagleft/utopia-faucet
coins faucet utopia utopia-p2p
Last synced: about 1 month ago
JSON representation
An example of creating a crane for distributing Cryptons
- Host: GitHub
- URL: https://github.com/sagleft/utopia-faucet
- Owner: Sagleft
- License: mit
- Created: 2020-01-05T22:53:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T08:47:57.000Z (over 2 years ago)
- Last Synced: 2024-02-29T16:00:40.350Z (over 2 years ago)
- Topics: coins, faucet, utopia, utopia-p2p
- Language: PHP
- Homepage: https://get.crypton.click
- Size: 2.7 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Utopia Crypton Faucet

An example of creating a crane for distributing Cryptons
## Requirements
* PHP 7.1;
* Apache 2.6;
## Installation
An example for a project called project:
```bash
git clone https://github.com/Sagleft/PHP-blank-MVC.git project
cd project
mkdir view/cache
chmod 777 view/cache
cp .env.example .env
cp composer.json.example composer.json
composer update
cd controller/public_html
cp example.htaccess .htaccess
mkdir css/external
mkdir js/external
cd ../../tools
sh get_depends.sh
```
* Import table dump from `vouchers.sql`.
* Next, **make changes to `.env`**
* `public_html` directory: ``` controller\public_html ```.
## How to import vouchers
place voucher codes to `tools/vouchers.csv`,
open dir `tools`, execute
```php
php import_vouchers.php
```
done!
## Copyright
Copyright (c) 2024 Sagleft.
---
[](https://udocs.gitbook.io/utopia-api/)