Skip to content

cccp-education/school

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

School

lang fr red

Goal

The School project aims to organize and structure my activity as a trainer and developer.

The School project is based on the Gradle software as a task automation tool.

How ?

The planned tasks are:
  • Creating a website for an independent professional, tests, construction, and deployment.

  • Creating a website for a training organization, tests, construction, and deployment.

  • Creating a Moodle instance as an educational system, launching locally for development, and deploying to an online host.

Practical implementation:
System prerequisites
  • Java 17

  • Docker

How to launch a task in the terminal

Windows

.\gradlew.bat :hello

Linux & Mac

./gradlew :hello

Output

> Task :hello
Hello from the SchoolPlugin

Available tasks

School
  • :initWorkspace - Initialize workspace configuration.

  • :printDossierProfessionnelle - Displays the internal structure of the professional dossier document in the terminal.

School Frontend
  • :schoolFrontendServe - Run the school site locally.

  • :schoolFrontendDesign - Design the school site in Storybook.

  • :schoolFrontendTests - Test the school site.

  • :schoolFrontendPublish - Publish the school site to CDN.

School Backoffice
  • :schoolBackofficeTests - Test the school backoffice.

  • :schoolBackofficePush - Pushes the school backoffice script to the Google Workspace.

School Moodle
  • :projects:school:school-gradle-plugin:initMoodle - Initializes the Moodle docker image in localhost.

  • :projects:school:school-gradle-plugin:launchMoodleDev - Launches the Moodle docker image in localhost.

  • :projects:school:school-gradle-plugin:stopMoodleDev - Stops the Moodle docker image in localhost.

Utilities
  • :hello - Greetings output

  • :lsWorkingDir - Executes the ls command on the current module directory.

  • :confToYaml - Utility task for development: displays configuration in yaml.

  • :printEnvVars - Retrieves environment variables.

Databases

postgresql
sudo docker compose -f ~/workspace/atelier/school/database/postgresql/postgresql.yml up -d
mongodb
sudo docker compose -f ~/workspace/atelier/school/database/mongodb/mongodb.yml up -d

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published