Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Drupal Challenge Drupal Challenge
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Jobsity
  • Drupal ChallengeDrupal Challenge
  • Wiki
  • Home

Home · Changes

Page history
Update Home authored Mar 09, 2023 by Ariel Kanelson's avatar Ariel Kanelson
Hide whitespace changes
Inline Side-by-side
Showing with 66 additions and 7 deletions
+66 -7
  • Home.md Home.md +66 -7
  • No files found.
Home.md
View page @ 0c1c9e7d
......@@ -5,10 +5,11 @@ This is a plain vanilla Drupal 10 installation pre-configured for use with DDEV.
Features pre-configured / pre-installed:
* DDEV yaml file
* Needed Docker containers (Webserver, MySQL, PHP8).
* Needed Docker containers (Webserver, MySQL, PHP8, NodeJS).
* Vanilla Drupal 10
* Drush
* Composer
* SCSS pre-processors
## **Challenge Instructions**
......@@ -16,16 +17,74 @@ You can find the [challenge ](https://git.jobsity.com/jobsity/drupal-challenge/
## **Setup instructions**
### **Step #1: DDEV environment setup**
### Step #1: DDEV environment setup
**This is a one time setup - skip this if you already have a working DDEV environment.**
Follow [DDEV environment setup instructions](https://ddev.readthedocs.io/en/stable/users/install/)
Follow [DDEV environment setup instructions](https://ddev.readthedocs.io/en/stable/users/install/).
Recommendation: on MacOS and Windows, enable the [mutagen](https://ddev.readthedocs.io/en/stable/users/install/performance/) filesystem for a better performance.
### Step #2: Cloning repo
* Create a user at [https://git.jobsity.com.](https://git.jobsity.com.)
* Open this repository, and fork it using the button at the top.
* Within your fork, go to Settings/General/"Visibility, project features, permissions" and set the Project visibility to Private.
1. Create a user at [https://git.jobsity.com.](https://git.jobsity.com.)
2. Open this repository, and fork it using the button at the top.
3. Within your fork, go to Settings/General/"Visibility, project features, permissions" and set the Project visibility to Private.
### Step #3: Project setup
1. Clone your forked repo into your Projects directory.
```plaintext
git clone https://git.jobsity.com/jobsity/drupal-challenge-update jobsity-drupal-challenge
cd jobsity-drupal-challenge
```
2. Initialize the DDEV site.
This will initialize local settings and spin up docker containers
```plaintext
ddev start
```
You might be asked to introduce your sudo password.
3. Download project dependencies.
This will download Drupal core and other needed dependencies.
```plaintext
ddev composer install
```
4. Install Drupal website.
This will install a plain Drupal instance dropping all the tables on the database.
```
ddev drush site:install --account-name=admin --account-pass=admin -y
```
5. Install SCSS node modules (optional).
If you would like to use SCSS for your styling, install Node dependencies for gulp compiler.
```
ddev ssh
cd web/themes/custom/dc
npm install --location-global gulp-cli
exit
```
For watching SCSS changes and compiling to CSS run `ddev composer theme:watch`.
6. For compiling SCSS to CSS run `ddev composer theme:build`.
7. Open Drupal website and log in.
At this point, you should be able to access the working Drupal website at [https://drupal-challenge-updated.ddev.site/](https://drupal-challenge-updated.ddev.site/) or by running `ddev launch`.\
Use `admin` for the username and `admin` for the password to log in as an administrator or by running `ddev drush uli`.
### Step #4 - Start coding
Tips:
### Step #3: Project setup
\ No newline at end of file
* Provide ALL information, step by step, on the root readme file for how to install from scratch your Drupal Challenge using DDEV. Try to follow your own steps on a new clone to ensure it works. These will be the same steps the evaluator will follow. When creating another clone of the repo, before starting ddev, change the `.ddev/config.yaml` name attribute to avoid collision names.
* Use all Drupal best practices you know, the evaluator will take them into account. Add standard Drupal comments and feel free to comment on your own custom code when you think it is worth it or adds value.
* Create a clean structure architecture in Drupal showcasing your knowledge of site-building to store and relate the different pieces of data you will retrieve and the proper use of Drupal entities. If you need to install any contributed module, install it by using composer.
* Provide a good, cohesive front-end with proper theming to demonstrate your knowledge of working with Twigs templates, use of CSS and responsiveness, Javascript, hooks and preprocessors, and other Drupal 8/9/10 functionality. Put all your theming code, assets, styles, and templates into the provided dc theme.
\ No newline at end of file
Clone repository
  • Drupal Challenge Instructions
  • Home