Unleash Your Code: Advanced Tools for Developers on NikolaHost

Empower Your Workflow with Pro-Grade Tools
Whether you’re building a SaaS platform or a custom API, NikolaHost provides the tools to streamline development.

Accessing SSH/SFTP

  1. Generate SSH Keys:
    • Navigate to Developer Tools > SSH Access.
    • Click Create New Key Pair.
    • Save the private key (e.g., nikola_key.ppk) securely.
  2. Connect via Terminal:
    ssh username@server.nikolahost.com -i /path/to/nikola_key.ppk -p 22  

Database Management

  • MySQL/PHPMyAdmin:
    1. Go to Databases > MySQL Databases.
    2. Create a new database and user.
    3. Assign privileges (e.g., ALL PRIVILEGES).
  • Remote Connections:
    Host: mysql.nikolahost.com  
    Port: 3306  
    Username: db_user  
    Password: ********  

API Integration

  • NikolaHost API (REST):
    • Authenticate with your API key (found under Account > API Credentials).
    • Example: Fetch account details
      GET https://api.nikolahost.com/v1/account  
      Headers: {"Authorization": "Bearer YOUR_API_KEY"}  

Version Control & Deployment

  • Auto-Deploy from GitHub:
    1. Link your repo under Developer Tools > Git Deployment.
    2. Set up webhooks to trigger deployments on git push.
    3. Files deploy to public_html/your-repo-name.

Pro Tips:

Use staging environments (Tools > Staging) to test code changes without affecting your live site.
Enable query caching in MySQL to speed up database-heavy apps.

Please rate this article to help us improve our Knowledge Base.

0 0

Powered by Blesta, © Phillips Data, Inc.

Loading...

No thanks