mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-10-01 05:25:34 -04:00
Meme site for Monero. You can submit memes and get paid.
app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
storage | ||
tests | ||
.editorconfig | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
artisan | ||
composer.json | ||
composer.lock | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
phpunit.xml | ||
README.md | ||
server.php | ||
webpack.mix.js |
Work In Progress
Almost Done...
About XmrMemes
Meme site for Monero. You can submit memes and get paid.
Dependencies
sudo apt install php-bcmath supervisor
Running Monero Daemon
./monerod --testnet
./monero-wallet-rpc --testnet --rpc-bind-port 28083 --disable-rpc-login --wallet-dir .
Creating the Database
php artisan migrate
Creating Initial Wallet (Set Wallet Name in .env)
php artisan db:seed --class=WalletSeeder
Cron Job to process payments
You must set up supervisor https://laravel.com/docs/8.x/queues#supervisor-configuration to process queues (jobs)
Then set up 1 cron job to call
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
Config file
Config options are in the .env.example file which should copied into a .env file
This Project Uses Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.