updated gitignore

master
Malar Kannan 2017-08-01 16:20:43 +05:30
parent 39728a7203
commit 5c92e27b83
4 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ yarn-error.log*
package-lock.json*
public/png
docker
*.xml
# Created by https://www.gitignore.io/api/python

View File

@ -1,4 +1,4 @@
FROM python:2.7-alpine3.6
FROM alpine:3.6
ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 8.2.1

View File

@ -1,4 +1,8 @@
`git clone fs-walle-react-ts`
`cd fs-walle-react-ts`
`npm install`
`docker run --rm -it -v $PWD:/walle-react node:8.2.1-alpine /bin/sh`
cd /walle-react
npm run build

10
generate-docker.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ ! -d "docker" ]; then
mkdir docker
fi
git submodule init
git submodule update
npm install
npm run build
cp -r build freespeech_walle *.py requirements.txt docker/