Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
471c19a7
Commit
471c19a7
authored
Jan 27, 2016
by
Robert Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove docker
parent
1d108d0f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
35 deletions
+2
-35
.dockerignore
.dockerignore
+0
-2
Dockerfile
Dockerfile
+0
-9
README.md
README.md
+2
-18
docker-compose.yml
docker-compose.yml
+0
-6
No files found.
.dockerignore
deleted
100644 → 0
View file @
1d108d0f
.git
source
Dockerfile
deleted
100644 → 0
View file @
1d108d0f
FROM
ruby:onbuild
MAINTAINER
Adrian Perez <adrian@adrianperez.org>
VOLUME
/usr/src/app/source
EXPOSE
4567
RUN
apt-get update
&&
apt-get
install
-y
nodejs
\
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
CMD
["bundle", "exec", "middleman", "server", "--force-polling"]
README.md
View file @
471c19a7
...
@@ -47,33 +47,17 @@ You're going to need:
...
@@ -47,33 +47,17 @@ You're going to need:
1.
Fork this repository on Github.
1.
Fork this repository on Github.
2.
Clone
*your forked repository*
(not our original one) to your hard drive with
`git clone https://github.com/YOURUSERNAME/slate.git`
2.
Clone
*your forked repository*
(not our original one) to your hard drive with
`git clone https://github.com/YOURUSERNAME/slate.git`
3.
`cd slate`
3.
`cd slate`
4.
Initialize and start
(there are a few options for this)
:
4.
Initialize and start
Slate. You can either do this locally, or with Vagrant
:
####
Manual/local
####
Locally
```
shell
```
shell
bundle
install
bundle
install
bundle
exec
middleman server
bundle
exec
middleman server
```
```
#### Via Docker (must install it first)
```
shell
docker-compose up
```
will spin an environment for you, with the
`source`
directory mapped to the
container, so you can see your edits instantly after refreshing your browser.
You can now see the docs at http://localhost:4567. Whoa! That was fast!
You can now see the docs at http://localhost:4567. Whoa! That was fast!
+
*
Note: if you're not using Docker natively (i.e. on Linux), the docs will be
+available at the IP of your docker host. If you're using docker-machine you can
+retrieve it with
`docker-machine ip <your_machine_name>`
*
*
Note: if you're using the Docker setup on OSX, the docs will be
available at the output of
`docker-machine ip <machine-name>`
(port: 4567) instead of
`localhost:4567`
.
*
#### Via Vagrant
#### Via Vagrant
```
shell
```
shell
vagrant up
vagrant up
...
...
docker-compose.yml
deleted
100644 → 0
View file @
1d108d0f
app
:
build
:
.
ports
:
-
4567:4567
volumes
:
-
./source:/usr/src/app/source
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment