blob: 93a9d08f2fd9e6f802cf695fd47b7ff1ee7e53d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
This will be web based application for Gentoo Recruiters team.
To start testing application you should:
1.Install git.
1.1. External dependencies:
app-crypt/gpgme
2.Get sources
git clone git://git.overlays.gentoo.org/proj/recruiting-webapp.git
to get accepted sources (recommended). Or if you want latest sources and
don't mind fact that commit history will be rewritten a few times a day
git clone git://github.com/ahenobarbi/Gentoo-Recruiters-App.git
3.Install gems. Application uses bundler to manage gems so you should install bundler
gem install bundler
and then use bundler to install other gems
bundle install
4.Prepare configuration and databases.
rake prepare
You can pass db=sqlite3, db=postgres or db=mysql if you want rake to prepare database configuration for you.
You can pass seed= if you want rake to seed you database with example data.
5. (Optional) You can run test I prepared by simply issuing
rake
6. Start server
ruby script/server
it will be listening for connections on port 3000.
Configuration
In config/config.yml you can set:
developer_data:
check - Should developer data be checked (Gentoo join time for mentors)
data - String with developer data to use (overrides uri)
uri - URI from which developer data shall be obtained
min_months_mentor_is_dev: 6 - Number of months mentor must spend as Gentoo Dev before [s]h can became a mentor
seed:
users_domain - Domain for emails of users from default seed
There is example of this file in doc/config/config.yml.
Seed
If you want to edit seed remember you can use erb in db/fixtures/*.yml files.
|