Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
ba3e2a93
Commit
ba3e2a93
authored
6 years ago
by
Zero King
Committed by
Aya Morisawa
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update setup.en.md (#3270)
* [doc] run as root * [doc] update setup guide headings
parent
831e8f85
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/setup.en.md
+6
-6
6 additions, 6 deletions
docs/setup.en.md
with
6 additions
and
6 deletions
docs/setup.en.md
+
6
−
6
View file @
ba3e2a93
...
...
@@ -10,7 +10,7 @@ This guide describes how to install and setup Misskey.
*1.* Create Misskey user
----------------------------------------------------------------
Running misskey
on
root is not a good idea so we create a user for that.
Running misskey
as
root is not a good idea so we create a user for that.
In debian for exemple :
```
...
...
@@ -32,7 +32,7 @@ Please install and setup these softwares:
*3.* Setup MongoDB
----------------------------------------------------------------
In
root
:
As
root:
1.
`mongo`
Go to the mongo shell
2.
`use misskey`
Use the misskey database
3.
`db.users.save( {dummy:"dummy"} )`
Write dummy data to initialize the db.
...
...
@@ -47,17 +47,17 @@ In root :
4.
`git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)`
Checkout to the
[
latest release
](
https://github.com/syuilo/misskey/releases/latest
)
5.
`npm install`
Install misskey dependencies.
*(optional)* Generat
ing
VAPID keys
*(optional)* Generat
e
VAPID keys
----------------------------------------------------------------
If you want to enable ServiceWorker, you need to generate VAPID keys:
Unless you have set your global node_modules location elsewhere, you need to run this
in
root.
Unless you have set your global node_modules location elsewhere, you need to run this
as
root.
```
shell
npm
install
web-push
-g
web-push generate-vapid-keys
```
*5.*
Make c
onfigur
ation file
*5.*
C
onfigur
e Misskey
----------------------------------------------------------------
1.
`cp .config/example.yml .config/default.yml`
Copy the
`.config/example.yml`
and rename it to
`default.yml`
.
2.
Edit
`default.yml`
...
...
@@ -114,7 +114,7 @@ WantedBy=multi-user.target
You can check if the service is running with
`systemctl status misskey`
.
###
Way
to
U
pdate
to latest version of your Misskey
###
How
to
u
pdate
your Misskey server to the latest version
1.
`git fetch`
2.
`git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)`
3.
`npm install`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment