secret_chef

Secret Chef

The Secret Chef is a blog for people to gather around and share their best recipes, but also to experience new flavors as they go along. Anyone can visit the site and get inspired by the blog post pictures of homemade dinners. If you then choose to be a part of the Secret Chef community, you can also share your own tips. And just in case you change your mind about a recipe or if you have improved it, you are also able to edit or delete your own blog posts.

To keep the imaginary flavors on the page, all photos from the blog posts render in a slideshow on the front page.

Seret Chef home page

View Secret Chef on Heroku Pages


CONTENTS


User Experience (UX)

Initial Discussion

The proprietor of the esteemed Secret Chef blog aspired to forge a community that celebrates the oft-overlooked realm of culinary artistry, where extraordinary flavors intertwine and caress the senses, transcending mere gustatory delight. In a world where culinary excellence remains underappreciated, this sacred platform beckons gifted Secret Chefs to unite and showcase their cherished recipes, while also embarking on a journey of inspiration and discovery, honing their craft with novel and divine gastronomic delights.

Key information for the site

User Stories

User Goals

Admin Goals

Design

For the color palette, I used Coolors. Instead of trying to match up the colors, I went through the site and found this palette amusing.

Imagery

I plan to use vibrant and enticing food imagery throughout the site. This will include high-quality pictures of the recipes shared by users, showcasing the mouthwatering dishes and their appetizing presentation. Additionally, I aim to incorporate visually appealing graphics and illustrations that complement the overall theme of the blog and enhance the reader’s culinary experience.

Features

General features on each page

Header- Seret Chef!

These elements are constant on each page for easy navigation.

Future Implementations

Accessibility

I have been mindful while coding to ensure that the website is as accessible-friendly as possible. I have achieved this by:


Technologies Used

Languages Used

HTML, JavaScript, Python and CSS were used to create this website.

Frameworks, Libraries & Programs Used

Git - For version control.

Github - To save and store the files for the website.

Bootstrap - Framework and features on the app like the view and dropdown menus.

Heroku - Deploy of application.

Elephant SQL - For managing PostgresSQL databases.

Font Awesome - For the iconography on the website.

Google Dev Tools - To troubleshoot and test features, solve issues with responsiveness and styling.

Favicon.io To create favicon.

Deployment & Local Development

Deployment

Creating a app on Heroku

(This explanation of creating a heroku app is described by AJ Greaves )

When you create the app, you will need to add two buildpacks from the Settings tab. The ordering is as follows:

  1. heroku/python
  2. heroku/nodejs

You must then create a Config Var called PORT. Set this to 8000

If you have credentials, such as in the Love Sandwiches project, you must create another Config Var called CREDS and paste the JSON into the value field.

Connect your GitHub repository and deploy as normal.

Deploy app on Heroku

Heroku was used for deployment and here are the steps for deploying.

  1. Sign up for a Heroku account: Go to the Heroku website and create a new account if you don’t already have one.

  2. Install the Heroku CLI: Download and install the Heroku Command Line Interface (CLI) tool for your operating system. The CLI allows you to interact with Heroku from the command line.

  3. Prepare your app for deployment: Make sure your app is ready for deployment by ensuring all necessary dependencies and configuration files are in place. This includes setting up a Procfile that specifies how to run your app a requirements.txt file and also a env file.

  4. Initialize a Git repository: If your app is not already using Git for version control, initialize a new Git repository in the root directory of your app.

  5. Log in to Heroku from the CLI: Open a terminal or command prompt, and log in to Heroku by running the command heroku login. Follow the prompts to enter your Heroku account credentials.

  6. Push your code to Heroku: Use the command git push heroku main to deploy your code to Heroku. This will upload your app’s code and dependencies to Heroku’s servers.

  7. Set up environment variables (optional): If your app relies on environment variables for configuration, you can set them using the Heroku CLI. Run heroku config:set VARIABLE_NAME=variable_value for each environment variable you need to set.

Open your app in the browser: Go to setting in Heroku and you’ll find a link to your page to see your deployed app there.

Local Development

How to Fork

To fork the Secret Chef repository:

  1. Log in (or sign up) to Github.
  2. Go to the repository for this project, ohdamnitsnikki/Secret Chef.
  3. Click the Fork button in the top right corner.

How to Clone

To clone the Secret Chef repository:

  1. Log in (or sign up) to GitHub.
  2. Go to the repository for this project, ohdamnitsnikki/Secret Chef.
  3. Click on the code button, select whether you would like to clone with HTTPS, SSH or GitHub CLI and copy the link shown.
  4. Open the terminal in your code editor and change the current working directory to the location you want to use for the cloned directory.
  5. Type ‘git clone’ into the terminal and then paste the link you copied in step 3. Press enter.

Testing

To view the full testing visit TESTING.md

Credits

  1. The template is taken from Code Institute
  2. For help during these projects I’ve used my mentor, the tutors and the I think therfore I blog walkthrough project.
  3. The form for registration, sign in and sign out is completely built with djangos premade forms. Also the blog posts html code is from the walkthrough project. I’ve just added in some colours to make it fit my page since the content already looked so good. That also goes for the comment content and comment form.
  4. To get inspired about box-shadows and subsribe button I’ve used W3School
  5. To understand how to style img in readme file I’ve used code from SeanCDavid