- Introduction
- UX
- Features
- Issues and Bugs
- Technologies Used
- Testing
- Deployment
- Credits
- Acknowledgements
When using this website, please note that the Stripe functionality is set up to be in a test mode. DO NOT ENTER your personal card number when checking out an order. Please use these test numbers instead:
- card number: 4242 4242 4242 4242
- date: 04 24
- CVV: 424
User Goals
- I want to have a rough idea of what this website is when i first land on the homepage.
- I want to be able to easily navigate around the website.
- I want to be able to register an account.
- I want to be able to see more information about the products.
How This Will Be Achieved
- A brief description when landing on the hompage.
- A simple navigation bar located at the top of the page.
- Using the navigation bar to 'Sign Up'.
- Clicking on the product will show a description of that product.
The developer used Balsamiq to create the wireframes for the website.
The colour scheme I chose for this webiste was a bright orange theme with black text. This was to ensure the text stood out, when hovering over any links or icons the colours would invert to a orange text/icon and a black background to show the user that they have selected that specific item.
The font used for this website was Quicksand which was found via Google fonts which can be found here GoogleFonts
- Back to top button was taken from https://mdbootstrap.com/snippets/standard/mdbootstrap/2964350#css-tab-view.
- Users can easily access any page of the website via the easy to use navigational system.
- The webiste is fully responible and can be used on multiple devices
- Users are able to eaily see what they have in their bags by navigating to the bag icon.
- The ability to be able to give customers the chance to pre-order vinyls coming out at a later date.
- Implement a calander based system to show any upcoming shows in the area from any musicians.
- A blog system to keep customers upto date with days like 'World Record Shop Day'
- Developer had an issue with their SSD meaning all content for the website was wiped resulting in having to downsize and sacrificing some features in order to meet the deadline date.
- Delevoper also had issues when changing certain nav links colour due to them being used on multiple elements across the website.
- Developer also had to reimplement all the products to the admin page.
- HTML5 has been used because it is the standard markup language for documents designed to be displayed in a web browser.
- CSS3 has been used to style certain aspects of the website.
- Fontawesome has been used for the icons used throughout the website.
- Googlefonts has been used to style the fonts of the writing on the web site.
- Python
- [Flask](https://en.wikipedia.org/wiki/Flask_(web_framework)"Link to Flask Wiki")
- JavaScript
- jQuery has been used to initialize Materialize functionality.
- Heroku is used to deploy and host the project.
- Git
- Git was used to utilise the GitPod terminal to allow the developer to commit and push to GitHub.
- GitHub
- GitHub was used to store the project after pushing.
- Balsamiq
- Balsamiq was used to create the wireframes during the designing stages of the project.
- DiffChecker
- Diffchecker was used when comparing text from the Boutique Ado Walkthrough project to when an error occured.
For the testing section please refer to TESTING.md file.
- Login to your GitHub account and open up the repository you would like to copy
- Click on the button with a drop-down menu named ‘Code’ which will be placed next to the green ‘Gitpod’ button
- You will then have the option to download it on to your system via the ‘Download ZIP’ option
- Create a requirement.txt file that is need to Heroku to confirm dependencies. In your terminal please type:
pip3 freeze --local > requirements.txt
- Create a Procfile to confirm to heroku apps the commands that are executed by the app.
echo web: python run.py > Procfile
- Add, commit and push these files to GitHub.
- In Heroku create a new app. The name has to be unique.
- In Heroku you need to link Github to Heroku via the dashboard link "Deploy".
Go to "Deployment method" and choose "GitHub".
Below Deployment method find you repository name listed and select it. - Still in Heroku go to "Settings" and click "Reveal Config Vars"
- In this section you need to fill in the inputs field with the variables written in the env.py file.
- SECRET_KEY :
<your secret key>
- STRIPE_PUBLIC_KEY :
<this can be found from your Stripe account under the name of 'Publish key'>
- STRIPE_SECRET_KEY :
<your own personal secret key found in your Stripe dashboard>
- STRIPE_WH_SECRET :
<can be found in your 'endpoint' tab from your Strip account under the name of 'signing secret'>
- SECRET_KEY :
- Then enable "Automatic deploys".
- In "Manual Deployment" click "Deploy Branch".
- You should get the message "Your app is successfully deployed".
- Click "View" to lunch the app.