Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
453cc337
Commit
453cc337
authored
13 years ago
by
Richard Soderberg
Browse files
Options
Downloads
Patches
Plain Diff
clarify and capitalize headings
parent
f77428ce
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/DEPLOYMENT.md
+6
-6
6 additions, 6 deletions
docs/DEPLOYMENT.md
with
6 additions
and
6 deletions
docs/DEPLOYMENT.md
+
6
−
6
View file @
453cc337
...
...
@@ -56,7 +56,7 @@ and using the following software:
## Setup
### 1. gitolite
!
### 1.
Install
gitolite
*This step is optional*
. gitlite turns a normal unix machine into a
"git server". All that gitolite does is provide some utilities and
...
...
@@ -81,7 +81,7 @@ add a remote to your local copy of the browserid repo and push to it:
Now you have a clone of your browserid repository that's trivial to update.
You can use ssh keys with passphrases and ssh-agent if security is a concern.
### 2.
i
nstall node.js
!
### 2.
I
nstall node.js
At present we're running node.js 0.4.10. Lastest along the 4 line should
work:
...
...
@@ -108,7 +108,7 @@ Subsequent steps use different software which you might need to install.
3.
`CREATE DATABASE browserid;`
4.
`GRANT CREATE, DELETE, INDEX, INSERT, LOCK TABLES, SELECT, UPDATE ON browserid.* TO 'browserid'@'localhost';`
### 5. Set up post-update hook
### 5. Set up
git
post-update hook
*This step is optional*
- if you want to manually update code you
probably skipped step #1, you can skip this one as well. All you need
...
...
@@ -166,7 +166,7 @@ post update hook, annotated to help you follow along:
fi
</pre>
### 6.
g
et node servers running
### 6.
G
et node servers running
At this point, pushing code to gitolite will cause /home/browserid/code to be updated. Now
we need to get the servers running! Manually we can verify that the servers will run.
...
...
@@ -227,7 +227,7 @@ check host browserid.org with address 127.0.0.1
6.
verify servers are running! check
`/var/log/monit.log`
, curl ports 62700
and 62800, and verify servers are restarted at 10s if you kill em!
### 7.
set up
nginx
!
### 7.
Install
nginx
At this point we've got automatic server restart, simple git based code
publishing, and all of the software prerequisites installed on the box. The
...
...
@@ -297,7 +297,7 @@ server {
5.
restart your webserver:
`sudo /etc/init.d/nginx restart
### 8.
s
et up log rotation
### 8.
S
et up log rotation
create a file as root at `
/etc/logrotate.d/browserid
`
:
...
...
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