CnCNet / cncnet-ladder-api

CnCNet Ladder API & UI for Command & Conquer
https://ladder.cncnet.org
GNU General Public License v3.0
5 stars 4 forks source link
cncnet commandandconquer hac hacktoberfest hacktoberfest-accepted laravel php redalert redalert2 tiberiansun yurisrevenge

CnCNet Ladder API

This is the main repository for the CnCNet Ladder API.

Getting started

Production

If you are setting up your developpement environment, you can skip this chapter and go to the Development section.

Development

If you are setting up a prod or staging environment, you can skip this chapter and go to the Production section.

After changing the .env :

  • rebuild docker with docker-compose -f .\docker-dev-compose.yml up -d.
  • clear cache with docker exec cncnet_ladder_app php artisan optimize:clear

You are ready to go !

Storage links

Replace user with the host user ln -s /home/user/site/storage/app/avatars /home/user/site/public/avatars ln -s /home/user/site/storage/app/media /home/user/site/public/media

Built with

Useful resources

Troubleshooting

No supported encrypter found. The cipher and / or key length are invalid

You either forgot to generate the key or your env variable are not up to date

SQLSTATE[42S02]: Base table or view not found ...

Your database is empty or missing tables