Installing D8 on a webhosting
To develop your portfolio site in Drupal, you need a working environment; either locally or hosted.
Locally; we're already familiar with Acquia Dev Desktop Mamp of XAMP. Install a new site through those.
In the last week we will see how to transfer your local site to a hosting.
Hosted: Directly create/manage your Drupal site on a webhosting.
Not really applicable
It is ALWAYS recommended to develop a site locally first, and only place it on the hosting when it is ready.
Even now, I would STRONGLY recommend taking this approach.
HOWEVER, because of CoViD-19, it will be much easier to help you all if I can already log on to your site.
If you're not confident in your technical skills: its ok (for once) to start working on our webhost.
Change & Write down the
Admin user & password!
Upload the code to your webhost
* This step is optional. The drupal install script can do this for you.
Enter your own dbname/dbuser/dbpass! ;-)
$databases['default']['default'] = [
'database' => 'dbname',
'username' => 'dbuser',
'password' => 'dbpass',
'prefix' => '',
'host' => 'mysql',
'port' => '',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
];
Step 1: Don't panic!
Step 2: Read the error
Try and make sense of what is going wrong
Step 3: Google the error
Look for possible solutions, try out a few
Step 4: Ask your fellow students
Ask questions through slack or the facebook group
That way we can collaborate: find solutions together
Still can't find a good solution?
Step 5: Tag me on Slack / Ask me on messenger ;-)
:-(
Visit the status report!
Consult the Drupal error log if needed
Go re-read the project briefing,
and start working on a content-model
for your project-site.
Make sure to go over all the requirements and ask yourself how they fit into your site structure.
Start drawing up a scheme like we did before, describing:
content-types,
their fields,
any taxonomies that you will need
Once you are satisfied with your model, you can start implementing it.
Start creating said content-types,
add fields, configure their display, set up the taxonomies,
Then write some content,
and make sure everything works as expected