Skip to content

bykuin/contabo-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Contabo Storage Basic Project Setup

  1. Clone the Repository:
    • Clone the Contabo Storage project repository from GitHub.
    • Open your terminal or command prompt and navigate to the desired directory where you want to clone the repository.
    • Run the following command: git clone [repository_url]
    • This will clone the repository to your local machine.
  2. Install Dependencies:
    • Navigate to the project directory: cd contabo-storage
    • Install the required dependencies using Composer. If you don't have Composer installed, make sure to install it first. Run: composer install
  3. Set Up AWS Credentials:
    • Obtain your Contabo Storage access key and secret key from the Contabo Storage website.
    • Open the index.php file in a text editor.
    • Locate the following lines of code:
      $accessKey = 'your_access_key';
      $secretKey = 'your_secret_key';
                          
    • Replace 'your_access_key' and 'your_secret_key' with your actual Contabo Storage access key and secret key, respectively.
    • Save the changes.
  4. Set Up Project Configuration:
    • Open the index.php file in a text editor.
    • Locate the following lines of code:
      $endpoint = 'YOUR_ENDPOINT'; // Set the endpoint for Contabo Storage
      $region = 'YOUR_REGION'; // Set the region for Contabo Storage
      $bucket = 'YOUR_BUCKET_NAME'; // Set the bucket name for Contabo Storage
                          
    • Adjust the $endpoint, $region, and $bucket variables according to your Contabo Storage configuration.
    • Save the changes.
  5. Start the Project:
    • Make sure you have a web server (e.g., Apache, Nginx) installed on your machine.
    • Set up a virtual host or configure your web server to serve the Contabo Storage project from the project directory.
    • Start your web server.
    • Open your web browser and access the project using the configured URL.
  6. Project Usage:
    • Use the provided forms to upload files, create folders, and delete files.
    • File uploads will be stored in the specified bucket on Contabo Storage.
    • Folder creation and file deletion actions will be reflected in the Contabo Storage bucket.

Releases

No releases published

Packages

No packages published

Languages