Skip to content
Snippets Groups Projects
Commit a50e6516 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Create gitlab/public/uploads

This was an oversight in the Makefile. Most of the time some piece of
application code would make the directory anyway with `mkdir -p` but
we should do it eagerly, not lazily.
parent a5f93ad4
No related branches found
No related tags found
1 merge request!184Create gitlab/public/uploads
Loading
Loading
@@ -20,7 +20,7 @@ gitlab-setup: gitlab/.git gitlab-config bundler .gitlab-bundle
gitlab/.git:
git clone ${gitlab_repo} gitlab
 
gitlab-config: gitlab/config/gitlab.yml gitlab/config/database.yml gitlab/config/unicorn.rb gitlab/config/resque.yml
gitlab-config: gitlab/config/gitlab.yml gitlab/config/database.yml gitlab/config/unicorn.rb gitlab/config/resque.yml gitlab/public/uploads
 
gitlab/config/gitlab.yml:
sed -e "s|/home/git|${gitlab_development_root}|"\
Loading
Loading
@@ -37,6 +37,9 @@ gitlab/config/unicorn.rb:
gitlab/config/resque.yml:
sed "s|/home/git|${gitlab_development_root}|" redis/resque.yml.example > $@
 
gitlab/public/uploads:
mkdir $@
.gitlab-bundle:
cd ${gitlab_development_root}/gitlab && bundle install --without mysql production --jobs 4
touch $@
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment