This tutorial will guide you on how to install myDrive from GitHub on your Windows 10 computer.
Open Git Bash on your Windows 10 computer.
Clone the myDrive repository to your local machine by running the following command in the Git Bash terminal:
git clone https://github.com/subnub/myDrive.git
This will download the required files and create a new directory called "myDrive" on your computer.
Navigate to the "myDrive" directory using the following command:
cd myDrive
Install the required Python packages by running the following command in the terminal:
pip install -r requirements.txt
This will install the required dependencies for myDrive to run on your computer.
Create a ".env" file by running the following command in the terminal:
cp .env.example .env
Open the ".env" file using a text editor, and modify the following variables to match your preferences:
SECRET_KEY=<your_secret_key_here>
DEBUG=True
Be sure to replace <your_secret_key_here>
with any random string of characters.
Note: The DEBUG
flag should only be set to True
for development purposes. Set it to False
when deploying to a production environment.
Run the following command to create the necessary database tables:
python manage.py migrate
Create a user account by running the following command:
python manage.py createsuperuser
This will prompt you to enter a username, email, and password for the user account.
Finally, start the myDrive server by running the following command:
python manage.py runserver
This will start the server on your local machine. You can access the myDrive website by navigating to http://localhost:8000/ on your web browser.
Congratulations! You have successfully installed myDrive on your Windows 10 computer.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!