Giter Site home page Giter Site logo

help's People

Contributors

daniel-marklund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

help's Issues

Separate the Git Location from the Ngix Root Location

A comment on the Git activation page states that the Git Feature
only works if the Nginx' location remain as it's original, i.e. /var/www.

This is very limiting, because in many projects the folder
containing the public assets (including index.html, index.php, etc.)
is a sub-folder of the project's root (e.g. /var/www/public), and not
the project's root folder.

So, I suggest to add an item to the project's setting page to define
the location which the comming files is copied to (e.g. /var/www) and
let the Nginx's root file location be set independently according to
the needs of the project (e.g. /var/www/public).

NodeJS stack

Add NodeJS starter to Jumpstarter. (Total 61 upvotes before moving to GitHub)

User-submitted Starters

This evening I had a bit of a play with Jumpstarter and as PHP was the stack you supported I figured I'd try getting Anchor CMS (a lightweight CMS) up and running. However before I could complete the install script I had to make a database called 'anchor' with default encoding. All fairly straightforward, but wouldn't it be great if I could share this with others by adding it to the pool of Starters? This would save time in the future for anyone else who wanted to get a blank Anchor install up and running, and as the creator of this (admittedly basic) template I'm able to contribute back to the community.

For common frameworks like WordPress I would fully expect these to be provided by you guys, but I would never expect you to spend time adding obscurer frameworks unless you could prove user demand.

As for how it might be done:

  • Through the UI? (e.g. "Submit to Starter Directory" button).
  • Via GitHub? (e.g. you release a project config template in a new repository, then users could use this to create their own templates and submit pull requests)

Both approaches would obviously involve some kind of manual review process.

I wouldn't be surprised if this is on your roadmap for the future, but I wanted to suggest it here so you knew at least one person was interested in it :)

Database not found (sometimes)

If i refresh a php page after some time (eg few hours), i get an error that
the database cannot found, refreshing the php page solves the issue.

The cake php i a new install with only one test controller.

So in my cakephp install the database connection is lost from time to time..
Do you have any idea why the db connection gets lost?

Cannot install views module in drupal

On a fresh install of drupal, I installed CTools and Views modules. (Views requires CTools). When I enable the views module, the page go to fata errorr

Fatal error: Cannot redeclare class view in /var/www/sites/all/modules/views/includes/view.inc on line 19

It seems that it is related to this https://drupal.org/node/2066561 , which seems to be related to php5-xcache.

Commit working directory in the git feature

There has been several requests that the git feature should create an initial commit when initialized.

Lets call this alternative A.

However, I think a superior variant would be that we add a button that does this so it is possible to leave this out if you want to push your own repository instead. Also because this is something you might want to do later as well, mainly for hot patches. The hot patch work flow would be then be make the change on the live system, go to flow and press the 'commit worktree' button. This is alternative B.

Which would you prefer?

Composer

"Absolute must for modern PHP development." (6 upvotes before moving to GitHub)

Can't select Anchor CMS or Foundation from Starter list

If I select 'New Project' from the Projects page and choose either Anchor CMS or Foundation I'm just redirected back to the Projects page via the prefetch page.

Clicking on the other Starters correctly takes me to the next step ('New X Project'), so I'm guessing there's a vital hook missing somewhere.

Reproduced on Chrome latest, Firefox latest (Windows 7) and Safari latest (OS X Mavericks, BrowserStack)

Clean URL:s in Drupal 6 on Jumpstarter

This is just a short FYI that might be suited for the FAQ/guide should you decide to use it:

By adjusting the nginx config at rows 13-15, changing this:

  location @rewrite {
    rewrite ^ /index.php;
  }

to this:

  location @rewrite {
    rewrite ^/(.*)$ /index.php?q=$1;
  }

Then reboot the server. You will now have nice clean URL:s working again.

Drupal + ImageCache + Nginx

Add this to your configuration to make the ImageCache module work:

  location ^~ /sites/.*/files/imagecache/ {
    if (!-e $request_filename) {
      rewrite  ^/(.*)$ /index.php?q=$1 last;
      break;
    }
  }

Docroot directory

Change docroot name directory.

This is needed for Laravel project, because public directory name is : public (not : www).

Wordpress Multisite files, nginx configuration

I'd just like to share this modified Wordpress nginx configuration that I got to work with Wordpress Multisite using subdomains, it is not without its faults though: File names or paths with characters that fall outside lower ASCII (such as scandinavian and german letters with umlauts) does not work properly. Proper transliteration of files/paths or further modification of the code below is required to solve that issue.

Edit: turns out it was not nginx, but rather file name encoding errors

server {
       listen 0.0.0.0;
       root /var/www;
       index index.php index.html index.htm;

       location / {
              try_files $uri $uri/ /index.php?$args;
              rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;
               if (!-e $request_filename) {
                  rewrite ^.+/?(/wp-.*) $1 last;
                  rewrite ^.+/?(/.*\.php)$ $1 last;
                  rewrite ^(.+)$ /index.php?q=$1 last;
              }
       }

       rewrite /wp-admin$ $scheme://$host$uri/ permanent;

       location = /favicon.ico {
                log_not_found off;
                access_log off;
       }

       location = /robots.txt {
              allow all;
              log_not_found off;
              access_log off;
       }

       location ~* \\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ {
                rewrite ^/.*(/wp-.*/.*\.(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js))$ $1 last;
                rewrite ^.*/files/(.*(html|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js))$ /wp-includes/ms-files.php?file=$1 last;
                expires 2w;
       }

       location ~* \\.php$ {
                fastcgi_index index.php;
                fastcgi_pass unix:/var/run/php-fpm.sock;
                include /etc/nginx/fastcgi_params;
                fastcgi_param PHP_VALUE "
                display_errors=On
                display_startup_errors=On
                error_reporting=30719
                ";
       }
}

Laravel support

Support for Laravel on Jumpstarter (Total 9 upvotes before moving to GitHub)

Auto-replace URL when cloning

Is there any way when cloning a WP-install to auto-replace the URL with the new one? (or a simple way via terminal)?

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.