lines-engine 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -0
- data/lib/generators/lines/README +8 -5
- data/lib/lines/version.rb +1 -1
- data/lib/tasks/lines.rake +0 -26
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc4d1cd3e4a80bb39eba6e67a9fbde0482d62986
|
4
|
+
data.tar.gz: 09ca8588580a762da6d07dcaa0a933e55a73ff6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 532118fc92846240560f64ff83111c86fddddf219747dd65110a87f798129c6f4ba878f6dee281ba0edf36edc831b245b2f63ee1a75e5318e845c798e076462f
|
7
|
+
data.tar.gz: cf2ce4e5f1a36413a78fb13b7ef482025e16ea69f2072af55b14a7ea60a6ad735490d6776d3b73a23a384fbb60703e176974c03b693260e8f2295eb31c30db9d
|
data/README.rdoc
CHANGED
@@ -50,6 +50,9 @@ To get an idea of the appearance, see the screenshots below, visit the {Lines We
|
|
50
50
|
|
51
51
|
4. Adjust settings for Lines in the newly generated <tt>config/lines_config.yml</tt> file.
|
52
52
|
|
53
|
+
5. Run database migrations:
|
54
|
+
rake db:migrate
|
55
|
+
|
53
56
|
If you need some more information or help, you can just follow this readme file.
|
54
57
|
|
55
58
|
|
data/lib/generators/lines/README
CHANGED
@@ -3,18 +3,21 @@
|
|
3
3
|
INSTALLTION FINISHED
|
4
4
|
************************************
|
5
5
|
|
6
|
-
Please adjust the configuration file to your needs:
|
6
|
+
1. Please adjust the configuration file to your needs:
|
7
7
|
|
8
8
|
config/lines_config.yml
|
9
9
|
|
10
|
+
2. Run database migrations:
|
10
11
|
|
11
|
-
|
12
|
+
rake db:migrate
|
12
13
|
|
13
|
-
|
14
|
+
3. Add a new user to login:
|
14
15
|
|
15
|
-
|
16
|
+
rake lines:add_user
|
16
17
|
|
17
|
-
|
18
|
+
4. Visit you blog at '/blog/' or '/blog/admin' for the admin interface
|
19
|
+
|
20
|
+
5. Post some awesome articles!
|
18
21
|
|
19
22
|
|
20
23
|
|
data/lib/lines/version.rb
CHANGED
data/lib/tasks/lines.rake
CHANGED
@@ -29,32 +29,6 @@ namespace :lines do
|
|
29
29
|
|
30
30
|
end
|
31
31
|
|
32
|
-
|
33
|
-
desc "Migrate database, create Admin user and default entries."
|
34
|
-
task :setup => :environment do
|
35
|
-
|
36
|
-
begin
|
37
|
-
|
38
|
-
# Run migrations
|
39
|
-
Rake::Task["db:migrate"].invoke
|
40
|
-
puts "Database created and migrations run.\n\n"
|
41
|
-
|
42
|
-
# Add user
|
43
|
-
Rake::Task["lines:create_user"].invoke
|
44
|
-
|
45
|
-
# Display final instructions
|
46
|
-
puts "\n\nCongrats! Your Lines blog is now ready to use. Just start the server:"
|
47
|
-
puts "\n rails server\n"
|
48
|
-
puts "...and head to #{CONFIG[:host]}/login to get started.\n\n"
|
49
|
-
|
50
|
-
rescue SystemExit, Interrupt
|
51
|
-
puts "\n\nBye Bye."
|
52
|
-
rescue Exception => e
|
53
|
-
raise
|
54
|
-
end
|
55
|
-
|
56
|
-
end
|
57
|
-
|
58
32
|
|
59
33
|
# Reads credentials(email and password) from STDIN
|
60
34
|
def get_credentials
|