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.
View Secret Chef on Heroku Pages
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.
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.
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.
Much of the styling on the site is achieved with the aid of Bootstrap classes. One of the most appealing aspects, in my opinion, of using Bootstrap is its ability to format elements into responsive columns, making the design look fantastic on any screen size.
This project relies on Cloudinary storage, allauth, and Summernote to make it possible.
Elephant SQL plays a crucial role in facilitating the seamless exchange of data between the application and the database.
In case a blog post lacks a picture, there is a backup image of food that will be displayed, ensuring that the post maintains a consistent and attractive appearance.
Leveraging Django forms, I also incorporated user-friendly messages that appear after registration, login, and logout events. Additionally, these messages are programmed to disappear automatically after a short duration using JavaScript, providing a smoother user experience.
These elements are constant on each page for easy navigation.
I have been mindful while coding to ensure that the website is as accessible-friendly as possible. I have achieved this by:
HTML, JavaScript, Python and CSS were used to create this website.
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.
(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:
heroku/python
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.
Heroku was used for deployment and here are the steps for deploying.
Sign up for a Heroku account: Go to the Heroku website and create a new account if you don’t already have one.
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.
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.
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.
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.
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.
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.
To fork the Secret Chef repository:
To clone the Secret Chef repository:
To view the full testing visit TESTING.md