LucyaFX is a fixed version of the original Lucya, with an easier to follow and updated tutorial, to work with the latest version of python as of March 2023 (3.11.2), and edited files for the website to work properly.
Install the Python 3.11.2 from the link here.
Make sure to install PATH. (Click the checkbox after starting the installer.)
After this, continue with the installation like normal.
Download and install XAMPP from ApacheFriends, at this link.
Once downloaded, locate the "Apache" section and click "httpd.conf".
Inside the file, press "CTRL+F", and search for Listen 80
Once the string has been located, change the number to anything that you want, I chose 1337.
Now save the changes and close the window.
Now, open RUN. You can do this by either right clicking the start button, and then run, or just searching it up in Windows Search.
Input C:\Windows\System32\drivers\etc
into the window.
Click "OK".
It will take you to a window that looks like this.
Copy the file location for the "hosts" file and then open Notepad as administrator.
Press "File > Open" and paste in the location.
Once the file is open, add your localhost domain like this:
127.0.0.1 roblox.local roblox.test
You may name the domains anything. I just named them ROBLOX for the purpose of this website. Make sure they are either ".local" or ".test" though.
After this, make sure to save the notes file via "File > Save".
Once all of this is done, feel free to close all windows apart from XAMPP.
Now, download all the files from this repository and extract them to a folder located on the desktop.
Press the bar at the top showing the file location and type in cmd
Next, install the libraries and dependencies by typing pip install -r requirements.txt
If any problems occur, make sure to install the latest versions of the packages, and you can do this via finding tutorials online. I will not go over that in this README.
Next, open XAMPP again.
Start Apache and MySQL by clicking the "Start" button. You can't miss it...
Make sure they are running, and then click "Admin" on the MySQL row.
It should take you to a localhost PHPMyAdmin window.
Eventually, the site will say that it cannot connect to localhost, this is normal.
To get past this, you will need to put the port that you chose after the localhost, and in my case, like this: http://localhost:1337/phpmyadmin/
The page will then load.
Now, create and setup your MySQL database like normal, and make sure to import the included "Lucya.sql" file. If you do not know how to do this, there are tutorials online as well.
Open main.py in any IDE, I am using Visual Studio Code.
Find the section with the database details. You will need to input your own, and this will vary between systems.
Press "File > Save" and you can now exit out of your IDE.
Once you have done this you can now move on to actually running the website.
Like earlier, Press the bar at the top showing the file location and type in cmd
Type into the Command Prompt window: python C:\Users\m0nst\Desktop\Lucya-main\main.py
Make sure to change the location to whatever you have set yours as, and also change the user.
After this, the window will tell you that the website is running.
Next, visit any of the domains you chose to host it on. In my case, I am opening the "roblox.local" site.
You should now be able to visit the website, create an account, login and edit values in the database.
Open the Command Prompt window again and press "CTRL+C"
This will now quit the process. All you have to do now is open XAMPP, and quit the Apache and MySQL processes.
TsunamiWind - The original Lucya.
wehateyouvvita - Fixing up the source code and updating Lucya.
Seven - Helping me with a registration error.
ROBLOX - ROBLOX website code, images and styles.