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
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,23 @@ EveryDocs Core is the server-side part of EveryDocs. This project will contain a
7
7
## Installation
8
8
9
9
1. Make sure you have Ruby installed. For an installation guide, check here: [Ruby installation guide](https://guides.rubyonrails.org/getting_started.html#installing-rails)
10
-
2. If you haven't installed the Rails Gem, you can run the following command: _gem install ruby_
11
-
3. Clone this repository in a location of your own choice: _git clone https://github.com/jonashellmann/everydocs-core_
10
+
2. If you haven't installed the Rails Gem, you can run the following command: ``gem install ruby``
11
+
3. Clone this repository in a location of your own choice: ``git clone https://github.com/jonashellmann/everydocs-core``
12
12
4. Configure your database connection in config/database.yml
13
13
5. Configure the folder where documents are stored in config/settings.yml
14
-
6. Start your Rails server on a specific port (or on port 3000, if you don't use the command line parameter): _rails server --port 1234_
15
-
7. Access the application on http://localhost:1234 or configure any kind of proxy forwarding in your webserver.
16
-
8. If you wish to use this application in your web browser, consider to install [EveryDocs Web](https://github.com/jonashellmann/everydocs-web/)!
14
+
6. Install required dependencies by ruuning: ``bundle install``
15
+
7. Start your Rails server on a specific port (or on port 3000, if you don't use the command line parameter): ``rails server --port 1234``
16
+
8. Access the application on http://localhost:1234 or configure any kind of proxy forwarding in your webserver.
17
+
9. If you wish to use this application in your web browser, consider to install [EveryDocs Web](https://github.com/jonashellmann/everydocs-web/)!
18
+
19
+
## Backup
20
+
21
+
To backup your database, you can run: ``rake site:backup``. This command
22
+
creates an archive file called site-backup.tgz. You can restore this backup by
23
+
running ``rake site:restore``.
24
+
25
+
Additionally you have to backup the place where the documents are stored. You
26
+
can configure this in config/settings.yml. To restore, just put the documents back in that location.
0 commit comments