Skip to content

Commit

Permalink
Move to vue-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein committed Nov 27, 2018
1 parent 40beaf1 commit 99c2063
Show file tree
Hide file tree
Showing 177 changed files with 14,646 additions and 8,768 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
@@ -1 +1 @@
PlanarAlly/static/js/*.js linguist-generated=true
server/static/js/*.js linguist-generated=true
31 changes: 15 additions & 16 deletions .gitignore
Expand Up @@ -3,28 +3,27 @@
.vscode/**

# Python
env/**
**/__pycache__/**
venv
.mypy**
server/env/**
server/**/__pycache__/**
server/venv
server/.mypy**

# PyInstaller
dist/**
build/**
server/dist/**
server/build/**

# JS
.cache-loader/**
node_modules/**
PlanarAlly/client/src/*.js
PlanarAlly/client/src/*.js.map
client/node_modules/**
server/client/src/*.js
sever/client/src/*.js.map

# PlanarAlly
planarallyserver.log
planar.save*
planar.sqlite
server_config.cfg
PlanarAlly/static/img/**
PlanarAlly/static/assets/**
server/planarallyserver.log
server/planar.save*
server/planar.sqlite
server/server_config.cfg
server/static/img/**
server/static/assets/**

# docs
docs/_build
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Expand Up @@ -11,12 +11,11 @@ VOLUME /usr/src/app/static/assets

ENTRYPOINT ["/usr/bin/dumb-init", "--"]

COPY requirements.txt ./
COPY server/ .
RUN apt-get update && apt-get install dumb-init curl -y && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir -r requirements.txt

COPY PlanarAlly/ .
COPY Dockerfiles/server_config_docker.cfg server_config.cfg

CMD [ "python", "-u", "planarserver.py"]
10 changes: 0 additions & 10 deletions PlanarAlly/server_config.cfg

This file was deleted.

3 changes: 3 additions & 0 deletions client/.browserslistrc
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
21 changes: 21 additions & 0 deletions client/.gitignore
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
File renamed without changes.
29 changes: 29 additions & 0 deletions client/README.md
@@ -0,0 +1,29 @@
# client

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

0 comments on commit 99c2063

Please sign in to comment.