Commit graph

269 commits

Author SHA1 Message Date
Benjamin Neff
b2712ebf1d
Use libjemalloc if it's available for better memory usage
Fixes #6763

closes #7919
2018-11-04 03:04:39 +01:00
CSammy
dae1717da8
Add docker setup for development
closes #7870
2018-10-28 22:09:06 +01:00
Benjamin Neff
ac868c9c06
Get processor count with ruby (on linux and mac)
closes #7830
2018-06-30 23:27:32 +02:00
Benjamin Neff
9e20215a24
Bump eye 2018-04-12 02:41:54 +02:00
Benjamin Neff
74d027a3ab
Set frozen config as boolean
This is normalized to "true" in the config after running bin/bundle, so
rerunning script/configure_bundler resets this back to 1 (which is the
same, but we don't need to change this back and forth every time).
2018-02-25 22:56:57 +01:00
Brad Koehn
b80eb01f34
piped bin/bundle commands to suppress warnings when run on readonly filesystems
closes #7719
2018-02-22 00:45:45 +01:00
Saverio Miroddi
1ebb5dd72d
Don't print a warning when starting the server outside a Git repo
Currently, git checks are performed on server start, even when outside a git
repository.

This commit verify the presence of a git repository (via `git status` exit
code), and perform checks only if it exists.

closes #7712
2018-02-10 16:13:38 +01:00
Janakas
2e3b7dee1e
Check for a running redis in script/server
Fixes #5267

closes #7685
2017-12-30 15:40:30 +01:00
Benjamin Neff
7c4648030f
Run rake directly without xvfb on travis
closes #7654
2017-11-01 00:46:36 +01:00
Benjamin Neff
4e267bb1ef
Use configure_bundler script on travis 2017-11-01 00:45:22 +01:00
Benjamin Neff
a14115119c
Add script/configure_bundler to set correct bundler options 2017-11-01 00:45:22 +01:00
Benjamin Neff
1d2394571c
Remove unused scripts
They were added a long time ago and they talk about rails 3 ... we have
rails 5 now and scripts in the bin folder, so I think we can remove
them.

closes #7596
2017-09-17 19:34:05 +02:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
Finn Woelm
78986e6419 Fix: Check for asset precompilation when starting server
When `public/assets/` is a symlink, running `find public/assets ...`
does not return the correct result. By using `public/assets/`, find is
able to return the correct result regardless of whether the folder is an
actual folder or a symlink.

[ci skip]
2017-07-13 21:41:11 +07:00
spixi
fa0bd14dfb Fix script/server when bin/ is not in PATH
This fixes an issue, when the bin/ directory of diaspora is not in the PATH variable

closes #7281
2017-01-15 23:27:27 +01:00
Steffen van Bergerem
a3fd949df7
Revert "Use bundler 1.12.5 on travis"
This reverts commit 5fcc239d7c.
2016-09-12 10:51:07 +02:00
Steffen van Bergerem
5fcc239d7c Use bundler 1.12.5 on travis
closes #7084
2016-09-10 20:45:40 +02:00
Jonne Haß
6ffbfe3943
Merge branch 'stable' into develop 2016-06-26 13:12:43 +02:00
Jonne Haß
266ada3f24
script/server: check for main.js instead of home.css 2016-06-26 13:11:43 +02:00
Steffen van Bergerem
269512c1b8 Fix eye not stopping all processes
Fixes #6685. See 866ecd0587
2016-02-11 10:22:35 +01:00
Jonne Haß
c85fe3872e Replace DB environment variable with optional bundler groups
See the changes to the changelog for more details
2015-05-29 01:33:12 +02:00
Jonne Haß
898e8d5912 Remove deprecated port setting 2015-05-19 11:07:03 +02:00
Jonne Haß
4bde00177c replace foreman with eye
closes #5966
2015-05-19 02:55:31 +02:00
Jonne Haß
a21de8b190 Make listen directive for Unicorn configurable 2015-05-19 02:55:01 +02:00
Jonne Haß
5371c3876f Merge pull request #5907 from pravi/add-x-permissions-to-scripts
add execution permission to scripts
2015-05-02 15:14:51 +02:00
Praveen Arimbrathodiyil
a4210cd501 drop install scripts, see #5907 2015-05-02 18:39:19 +05:30
Jonne Haß
288b83bd8d Merge pull request #5891 from mrbrdo/3824_environment_sanity_check
fix script/server sanity checks
2015-04-25 19:09:43 +02:00
Jan Berdajs
2fa4c07a9c fix sanity checks in script/server, remove migration check because it is too slow and Rails 4 checks it on first request anyway 2015-04-25 19:07:25 +02:00
Akash Agrawall
3763a87744 Environment sanity checks in script/server #3824 2015-04-25 17:46:51 +02:00
Jan Berdajs
8dcc5fafef fix broken output of script/server 2015-04-25 16:20:08 +02:00
Praveen Arimbrathodiyil
2613896cfd fix for #5862, check for compiled assets 2015-04-15 15:39:19 +02:00
Jonne Haß
50a3f03bfc Rails is a module 2014-12-04 14:52:14 +01:00
Jonne Haß
a580171e32 Replace spork with spring, update & use binstubs
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Lukas Matt
0308b70287 Print a warning unless they use a proxy
If you try to connect from a secure connection
to a insecure connection; Most modern browser
block the request and flag it as mixed-content.
2014-11-13 11:41:13 +01:00
Lukas Matt
9f827b9309 Start vines if chat and server is enabled 2014-11-13 11:38:34 +01:00
Lukas Matt
095608827e Add vines as foreman task 2014-11-13 11:36:55 +01:00
Jonne Haß
baacefbd92 look for hashed version of default.css in script/server
fixes #5254
2014-09-28 16:37:29 +02:00
Jonne Haß
acc8691487 drop useless require from script/get_config.rb [ci skip] 2014-08-25 02:48:29 +02:00
Bigard Florian
2458568349 Fix typo 2014-06-20 11:17:54 +02:00
Jonne Haß
a9b29a5881 Merge pull request #4885 from jaywink/curl-warning
Add warning to script/server if curl does not support AsyncDNS
2014-04-13 13:14:36 +02:00
Jonne Haß
549c45e06f No need anymore to update bundler on travis 2014-03-31 00:02:22 +02:00
Jason Robinson
3fd938f7e7 Add warning to script/server if curl does not support AsyncDNS 2014-03-30 22:55:13 +03:00
Jonne Haß
1b70f6fe09 Replace .rvmrc by .ruby-version
Also relax the requirement. The .ruby-version represents
merely a recomendation for the Ruby version. The incompability
issues in the Ruby world are far less currently, than they were
when we introduced strict version enforcement. Thus strict
enforcement is no longer appropiate. Same holds for RubyGems.

This implicity also removes the recomendation on using RVM.
The .ruby-version file is supported by all major Ruby version
managers. Gemsets are no longer a needed feature since Bundler
handles multiple concurrrently installed Gems just well.
2014-03-24 15:33:29 +01:00
Jonne Haß
6949292995 bump recommended rubygems version 2014-01-18 13:11:02 +01:00
Jonne Haß
4dcc712ea1 bump recommended ruby version to 2.0.0 2013-12-21 09:28:03 +01:00
Fabian Rodriguez
c339090f6e Merge branch 'release/0.2.0.1' into develop
Conflicts:
	Changelog.md
	config/defaults.yml
2013-12-05 09:11:41 -02:00
Fabian Rodriguez
90b0cc51a0 bump recommended Ruby version 1.9.3-p484 2013-12-04 21:04:25 -02:00
Jonne Haß
58e8df4455 Remove automatic setting of the DB variable from script/server
* It's broken for those that would benefit from it (postgres users)
* It's broken in the design: Reading it from the config requires bundle exec ruby, which requires it being set properly
2013-09-01 19:08:44 +02:00
Jonne Haß
b51f48dc88 Travis RVM doesn't know it yet
Revert "bump recommended rubygems version"

This reverts commit e9526ee93f.
2013-08-28 01:37:43 +02:00
Jonne Haß
e9526ee93f bump recommended rubygems version 2013-08-27 23:01:51 +02:00