Skip to content

Say goodbye to the wait! Our app lets you run moulinette tests right in your terminal, so you can catch errors on the fly and keep your momentum going. No more ‘coding timeouts’—just pure, uninterrupted productivity!

License

Notifications You must be signed in to change notification settings

aquemaati/lamoul01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lamoul01 (for go and javascript)

Ever get stuck in the dreaded 3-minute push cooldown at the 01 Edu piscine? Say goodbye to the wait! Our app lets you run moulinette tests right in your terminal, so you can catch errors on the fly and keep your momentum going. No more ‘coding timeouts’—just pure, uninterrupted productivity! logo.webp

How to install

No cheater, it’s not going to be easy for you to go over the cooldown. First, you need to pass a few steps to prove you deserve lamoul01 to flex at the piscine.

Prerequisites

First of all, you need to install GoLand. If you are swimming in the JavaScript piscine, you also need npm and Node.js.

Step 1

You have to create a hidden directory named "lamoul01" in your Home directory. Be sure to check what a hidden directory is and what your Home directory is.

Step 2

For JavaScript

  1. Inside your new hidden directory, use the git command to clone this repo: https://github.com/01-edu/public.git.
  2. Now, find the directory js/tests and go inside.
  3. Inside this directory, install Puppeteer
  4. Ok, it's almost done, cheater.
  5. sometimes you will have a fetch error (depending on node or your os) so if you have this error while running lamoul, please do that in the same folder tests: install node-fetch.
  6. Open the file test.mjs and at the top of the file put:
    import fetch from 'node-fetch';

For go

(have to be done)

Final step

go to your piscine directory and run this command :

go install github.com/aquemaati/lamoul01/cmd/lamoul01  

How to use

Launch these commands and let lamoul01 test for you:

lamoul01 js #if piscine-js
lamoul01 go #if piscine-go

Issue

If command not found:

echo 'export GOPATH="$(go env GOPATH)"' >> ~/.zshrc
echo 'export PATH="${PATH}:${GOPATH}/bin"' >> ~/.zshrc
source ~/.zshrc

Or go to yourusername/go/bin:

sudo cp lamoul01 /usr/local/bin/

show

About

Say goodbye to the wait! Our app lets you run moulinette tests right in your terminal, so you can catch errors on the fly and keep your momentum going. No more ‘coding timeouts’—just pure, uninterrupted productivity!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages