GithubHelp home page GithubHelp logo

gladosb5 / lucyafx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wehateyouvvita/lucyafx

0.0 0.0 0.0 3.54 MB

LucyaFX is a recreation of the current ROBLOX site.

Python 4.07% CSS 0.15% HTML 95.78%

lucyafx's Introduction

LucyaFX

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.

Setup

Installing Python

Install the Python 3.11.2 from the link here.

Make sure to install PATH. (Click the checkbox after starting the installer.)

image

After this, continue with the installation like normal.

Installing and configuring XAMPP

Download and install XAMPP from ApacheFriends, at this link.

Once downloaded, locate the "Apache" section and click "httpd.conf".

image

Inside the file, press "CTRL+F", and search for Listen 80

image

Once the string has been located, change the number to anything that you want, I chose 1337.

image

Now save the changes and close the window.

Editing the "hosts" file

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.

image

Input C:\Windows\System32\drivers\etc into the window.

image

Click "OK".

It will take you to a window that looks like this.

image

Copy the file location for the "hosts" file and then open Notepad as administrator.

image

Press "File > Open" and paste in the location.

image

Once the file is open, add your localhost domain like this:

127.0.0.1 roblox.local roblox.test

image

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.

Installing the libraries

Now, download all the files from this repository and extract them to a folder located on the desktop.

image

Press the bar at the top showing the file location and type in cmd

image

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.

Setting up the MySQL database

Next, open XAMPP again.

Start Apache and MySQL by clicking the "Start" button. You can't miss it...

image

Make sure they are running, and then click "Admin" on the MySQL row.

image

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/

image

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.

Editing "main.py"

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.

image

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.

Hosting the website locally

Like earlier, Press the bar at the top showing the file location and type in cmd

image

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.

image

Next, visit any of the domains you chose to host it on. In my case, I am opening the "roblox.local" site.

image

You should now be able to visit the website, create an account, login and edit values in the database.

Stopping the website hosting

Open the Command Prompt window again and press "CTRL+C"

image

This will now quit the process. All you have to do now is open XAMPP, and quit the Apache and MySQL processes.

image

You have successfully setup LucyaFX!

Credits

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.

lucyafx's People

Contributors

wehateyouvvita avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.