Skip to content

ArviSlayer/CV-Icin-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Website

Python Flask TailwindCSS JavaScript

Welcome to my personal website's repository. Made with Python Flask and WindiCSS (compiler for TailwindCSS).

✨ Features

  • WindiCSS support. WindiCSS is a compiler for TailwindCSS which comes with additional features and faster load times.
  • Dark & Light theme support. Keep your eyes safe with dark theme, switch with a button on the navbar, save theme preference on your device
  • Responsive. Comfortably view the site from desktops, tablets and mobile devices.
  • Dynamic & Static support. Run with a Flask server as a dynamic website or generate a static version (for Netlify/Vercel).
  • No HTML edit needed. Get your website ready to use by configuring everything you need in one single file.
  • Discord presence support. Live display your Spotify activity on your website directly.

🔎 Live version

You can view a public version of my site at eri.gg.

📚 Dependencies and requirements

  • Python v3.5 - v3.8 (dependencies may break with older versions)
    • ⚠️ WARNING: Versions newer than Python 3.8 will get an encounter a known "ImmutableMapping" deprecation bug that will prevent you from starting the app. Ref here. See this GitHub issue for workarounds.
  • Flask 1.0.2 or higher (backend of the site)
  • Frozen_Flask 0.15 (to render a static version of the site)
  • Requests 2.23.0 (for server-side API requests)

⚙️ Installation

  1. Open a terminal/shell and clone this repository with git clone https://github.com/eri/Website.git and then do cd Website
  2. Install dependencies with the pip3 install -r requirements.txt command
  3. Go to the /src folder and edit the constants.py file with your own settings

Note: If you would like to get a static version of your site, keep ssr as True.

If you would like to run a Flask server, change ssr as False. In that case, you can set a host (IP) and a port where the website will be run. It's recommended to keep host as 0.0.0.0 if the address is pointing a local address (like localhost or 127.0.0.1). You are free to change the port as you wish.

  1. Run the python3 run.py command on your terminal/shell to start the website
  2. If ssr in constants.py is False, a static version of the site has been generated in a new folder named /build.

You can host this static version on a web server.

I recommend you to deploy your site by using services like Netlify or Vercel for FREE.

  1. If ssr in constants.py is True, your site will be available at the host:port that you specified. (https://localhost:8000/ by default)

📸 Preview

preview

💡 Todo

  • Add a blog view to display your Medium stories
  • Localization support by using Flask Babel

About

Eren'den Alındı

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published