Skip to content

Commit e797bb2

Browse files
committed
first commit
0 parents  commit e797bb2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+9325
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "linuxbrew"]
2+
path = linuxbrew
3+
url = https://github.com/rusdevops/linuxbrew

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
os: linux
2+
language:
3+
- minimal
4+
services:
5+
- docker
6+
7+
env:
8+
- OS_FAMILY=centos OS_VERSION=7
9+
- OS_FAMILY=centos OS_VERSION=8
10+
- OS_FAMILY=debian OS_VERSION=10
11+
- OS_FAMILY=fedora OS_VERSION=30
12+
- OS_FAMILY=fedora OS_VERSION=31
13+
- OS_FAMILY=ubuntu OS_VERSION=18.04
14+
- OS_FAMILY=ubuntu OS_VERSION=19.04
15+
16+
script:
17+
- lscpu && uname -a && docker version
18+
- travis_wait 360 ./scripts/docker_build.sh
19+
20+
after_success:
21+
- ./scripts/docker_deploy.sh

LICENSE

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Copyright (c) 2016-2019 The ISC Authors.
2+
3+
All rights reserved.
4+
5+
MIT License
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
SHELL = /bin/bash
2+
3+
all: requirements install
4+
5+
requirements:
6+
./requirements.sh
7+
8+
install:
9+
./install.sh
10+
./bootstrap.sh
11+
12+
docker-build:
13+
./scripts/docker_build.sh
14+
15+
docker-deploy:
16+
./scripts/docker_deploy.sh

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[![Build Status](https://travis-ci.org/rusdevops/fast-ide.svg?branch=master)](https://travis-ci.org/rusdevops/fast-ide)
2+
3+
💨 The **Fast IDE** you can only dream of ⛅
4+
5+
### Run
6+
7+
```Shell
8+
docker pull fastide/ubuntu:19.04
9+
docker run -it fastide/ubuntu:19.04 zsh -c "nvim +PlugInstall +qa && zsh"
10+
```
11+
12+
### Deploy
13+
14+
```Shell
15+
# on Ubuntu Disco 🕺
16+
docker pull fastide/ubuntu:19.04
17+
docker create -ti --name fastide fastide/ubuntu:19.04 bash
18+
docker cp fastide:/home/developer /home/developer # docker rm -f fastide
19+
sudo useradd developer && sudo passwd developer
20+
sudo chown -R developer /home/developer
21+
su - developer
22+
zsh -c "nvim +PlugInstall +qa && zsh"
23+
```
24+
25+
### Install
26+
27+
```Shell
28+
# on the newly installed macOS 🍎
29+
make install
30+
```
31+
32+
```Shell
33+
# on the newly installed Linux 🐧
34+
sudo make requirements
35+
make install
36+
```
37+
38+
### Font settings
39+
40+
```Shell
41+
# this is required for OS that don't support non-ascii characters
42+
git clone https://github.com/powerline/fonts
43+
cd fonts
44+
./install.sh
45+
# select 'Ubuntu Mono' font in terminal preferences
46+
```
47+

docker/centos-7/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM fastide/linuxbrew-centos:7
2+
3+
USER developer
4+
5+
COPY install.sh /tmp/
6+
RUN bash -c ". ~/.profile && /tmp/install.sh"

docker/centos-7/bootstrap.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
set -ex
2+
3+
# ----------------------------------------------------------------------------
4+
# Copy configuration files
5+
# ----------------------------------------------------------------------------
6+
7+
cp configs/.ackignore -t $HOME/
8+
cp configs/.gitconfig -t $HOME/
9+
cp configs/.tmux.conf -t $HOME/
10+
cp configs/.zshrc -t $HOME/
11+
12+
mkdir -p $HOME/.config/nvim/
13+
14+
cp configs/init.vim -t $HOME/.config/nvim/
15+
cp configs/lsp.vim -t $HOME/.config/nvim/
16+
17+
# zsh -c "nvim +PlugInstall +qa"

docker/centos-7/configs/.ackignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tags

docker/centos-7/configs/.editorconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
max_line_length = 80
7+
8+
[*.vim]
9+
indent_style = space
10+
indent_size = 4
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
max_line_length = 80
14+
15+
[*.rb]
16+
indent_style = space
17+
indent_size = 2
18+
insert_final_newline = true
19+
trim_trailing_whitespace = true
20+
max_line_length = 120
21+
22+
[*.yml]
23+
indent_style = space
24+
indent_size = 2

docker/centos-7/configs/.gitconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[core]
2+
pager = diff-so-fancy | less --tabs=4 -RFX
3+
[push]
4+
default = current
5+
[alias]
6+
conflicted = nvim +Conflicted

0 commit comments

Comments
 (0)