Skip to content
Sign UpLog In
Profile icon

B. O.

@ketrab2004
GitHub
  • Dracula's Castle

    Cover page
    Made with Kotlin

    A school project Kotlin Text Game (Github)

    Made in May-June 2021.

    Would make it completely different now...

    Recent comments (2)
    ketrab2004
    ketrab2004
    11 months ago

    No more recompiling

    Now when running the replit it just runs the already compiled jar.

    If you would like to fork the replit you should look at the README.md because it has info on this.

    ketrab2004
    ketrab2004
    11 months ago

    Had to remove a bunch of "trailing commas", because it isn't possible to change the kotlin version in replit (for now). Also changed the width of formatted thing lists in src/main/kotlin/functions/format/* on lines 38/43/38, so the result better fits on the small replit console thing.

  • Solid.JS Typescript Template

    Cover page
    Made with TypeScript

    Solid.JS for Typescript Template

    Recent comments (0)
  • Laravel 9

    Cover page
    Made with PHP Web Server

    Simple Laravel template with PHP v8.0.8 and Laravel v9.12.2

    Laravel doesn't support replit's key=value database (as far as i know). So if you would like to store data you will have to use an external database.

    Also .env is renamed to .laravel.env because ".env is deprecated" according to replit.

    If you would like to use this template, follow the instructions in the README.md under "Replit setup"

    Recent comments (11)
    ncamacho97
    ncamacho97
    2 months ago

    any reason why i cant get the app.css to linkto the welcome page ?

    OluchukwuEgbuon
    OluchukwuEgbuon
    10 months ago

    Hi @ketrab2004, Please I have been trying to connect my laravel work to an external database(mySQL) just as you suggested, I setup my database credentials on the .env file, but generated this error when I run php artisan migrate or php artisan serve:

    SQLSTATE[HY000] [2002] Connection timed out (SQL: select * from information_schema.tables where table_schema = shopifyinventoryapp and table_name = migrations and table_type = 'BASE TABLE')

    at vendor/laravel/framework/src/Illuminate/Database/Connection.php:742 738▕ // If an exception occurs when attempting to run a query, we'll format the error 739▕ // message to include the bindings with SQL, which will make this exception a 740▕ // lot more helpful to the developer instead of just the database's errors. 741▕ catch (Exception $e) { ➜ 742▕ throw new QueryException( 743▕ $query, $this->prepareBindings($bindings), $e 744▕ ); 745▕ } 746▕ }

    +36 vendor frames

    37 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

    Pls do you have a way around this ? I'll be looking forward.

    fatfingers23
    fatfingers23
    10 months ago

    Love the template! Saw you talking about replits database and thought I’d share my composer package I made. It’s a simple Php client for the database. Framework independent, although I’ve thought about also making it work for Laravel cache just doesn’t seem to be a lot of interest. https://packagist.org/packages/fatfingers23/replit-database-client

    OluchukwuEgbuon
    OluchukwuEgbuon
    10 months ago

    Hi Ketrab, I can see that your laravel project works just fine on Repli.t This is my first time on Replit, and I must say it's been hard here. Please can you assist me on how I can configure my laravel project to work just fine like yours ? Anytime I want to run it, I get this error: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.2.24-0ubuntu0.18.04.7. I have tried and still trying to fix it but to no avail. Please can you help me on this ? Thanks.

    dextervr
    dextervr
    11 months ago

    very cool

Repls
Community
ketrab2004
ketrab2004
published a Repl
11 months ago
0
Database Stress test
Database Stress testStress testing database methods
ketrab2004
ketrab2004
published an Update
11 months ago
1
Dracula's Castle
Dracula's CastleA school project Kotlin Text Game (Github) Made in May-June 2021. Would make it completely different now...
Cloned Dracula's Castle from github
Had to remove a bunch of "trailing commas", because it isn't possible to change the kotlin version in replit (for now). Also changed the width of formatted thing lists in src/main/kotlin/functions/format/* on lines 38/43/38, so the result better fits on the small replit console thing.
#games
#game
#kotlin
+2