mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2024-12-21 21:55:07 -05:00
Meme site for Monero. You can submit memes and get paid.
c5141e10e0
Very small amounts were showing scientific notation numbers when dispaying the total amount of tips on a meme or user or on the leaderboard. This should fix that. There may be a cleaner way to do this but this gets the job done. |
||
---|---|---|
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 |
XMRMEMES.COM
About XmrMemes
Meme site for Monero. You can submit memes and get paid.
Dependencies on a LAMP Server
sudo apt install php-bcmath supervisor composer php-curl php-xml
Installing Vendor Packages
composer install
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.