You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+17-7
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,31 @@ This is the open-source repository for participa2, based on [Decidim](https://gi
6
6
7
7
## Deploying the app
8
8
9
-
An opinionated guide to deploy this app to Heroku can be found at [https://github.com/codegram/decidim-deploy-heroku](https://github.com/codegram/decidim-deploy-heroku).
9
+
An opinionated guide to deploy this app to Heroku can be found at [decidim-deploy-heroku](https://github.com/codegram/decidim-deploy-heroku).
10
10
11
11
## Setting up the application
12
12
13
-
You will need to do some steps before having the app working properly once you've deployed it:
13
+
You will need to do some steps before having the app working properly once
14
+
you've deployed it:
14
15
15
16
1. Open a Rails console in the server: `bundle exec rails console`
16
-
2. Create a System Admin user:
17
+
18
+
1. Create a System Admin user:
19
+
17
20
```ruby
18
21
user =Decidim::System::Admin.new(email:<email>, password:<password>, password_confirmation:<password>)
19
22
user.save!
20
23
```
21
-
3. Visit `<your app url>/system` and login with your system admin credentials
22
-
4. Create a new organization. Check the locales you want to use for that organization, and select a default locale.
23
-
5. Set the correct default host for the organization, otherwise the app will not work properly. Note that you need to include any subdomain you might be using.
24
-
6. Fill the rest of the form and submit it.
24
+
25
+
1. Visit `<your app url>/system` and login with your system admin credentials
26
+
27
+
1. Create a new organization. Check the locales you want to use for that
28
+
organization, and select a default locale.
29
+
30
+
1. Set the correct default host for the organization, otherwise the app will not
31
+
work properly. Note that you need to include any subdomain you might be
0 commit comments