-
Notifications
You must be signed in to change notification settings - Fork 22
Setup guide
This documentation will walk you through setting up a portfolio website with CodersCard project.
- GitHub account
- Netlify account - you can login with GitHub
- Fork CodersCard to your account.
-
Go to your Netlify account and click on the New site from Git button.
-
In Netlify, complete a quick 3-step process to set up your website.
-
Choose GitHub for Continuous Development, then Authorize Netlify and it will get you to the second step.
-
Click Configure Netlify on GitHub button, which will walk you through installing Netlify app on GitHub. Install it on your account with the option for Only selected repositories, and select the
your-github-name
/CodersCard repository, it will get you back to Netlify website. -
Click on the CodersCard button on Netlify and it will get you to the third step.
-
The default config is just fine so you can click the Deploy site button!
- That's it, your site is being deployed! 🎉
The deploy can take a couple of minutes, please wait patiently and once it is done, it will change its status to published.
- Click on the published version, and then click on the Preview deploy text to navigate to your newly published website. You will find out that the website is up and running, now it's time to add your own content to it!
After you finished the Setup section, you can now populate the website with your own content. In order to do so, you have to complete the following steps.
-
Go to your Netlify account and navigate to Site settings, then select the Identity tab.
-
Scroll all the way to the bottom, where you find the Services section, there click Enable Git Gateway
-
Open up your newly hosted website again and navigate to
/admin
route on your website. Wait a couple of seconds, it will take some time to initialize. Once it is ready, press the Login with Netlify Identity button. -
You will have to Sign up, it is quick and you have to do it only once. After you sign up, you will get a confirmation email, click the confirmation link in the email. It will get you to the CMS where you will populate the website with your content.
-
Now you should be logged in and see something that looks as follows:
As you can see, there are 2 collections.
Now, click on the "Developer profile" card, it will get you to the editor where you can change the basic data about you. The data will be displayed on the card on the right side of every page.
Now go through all the collections and replace the predefined information with the real information that you want to have included on your website.
After you are done filling in the information in a particular collection, remember to press the Publish button and then the Publish now -> option, this will trigger another build of your website and in a couple of minutes, it will be populated with new data.
On these pictures below, you can find about what each collection represents on the website.
This is a special collection where you should provide an obligatory portion of metadata for your portfolio.
After you fill in all your information and publish your changes every time, you should see that your website has been updated, and you have your custom portfolio website! 🎉
If you want your portfolio images to be better optimized, you can integrate the project with Cloudinary. You can do it in a few steps:
-
Log into your Cloudinary account and go to the Dashboard page.
-
Find your
Cloud name
andAPI Key
properties.
- Copy properties from the previous step to the
config.yml
file using the following snippet.
media_library:
name: cloudinary
config:
cloud_name: your_cloud_name
api_key: your_api_key
- It's done. Now you will automatically use Cloudinary to manage and dynamically transform your graphics. If you have some current images you want to be optimized, you need to reupload them again using Cloudinary.