LoginSignup
0
0

More than 1 year has passed since last update.

docker + spa

Posted at

# Pull from Docker Hub
$ docker pull nikolaik/python-nodejs:latest

# Build from GitHub
$ docker build -t python-nodejs github.com/nikolaik/docker-python-nodejs

# Run image
$ docker run --name python-nodejs2 -v /c/users/lynthey/home/dockermount:/root/dockermount -it python-nodejs /bin/bash
$ git config --global user.name yourname
$ git config --global user.email yourname@mail.com

spa

> cd frontend 
> npm run serve

> cd backend
> source env/bin/activate
> pipenv run start

myspa1

$ cd server
$ python3.9 -m venv env
$ source env/bin/activate
(env)$ pip install -r requirements.txt
(env)$ python app.py
Navigate to http://localhost:5000

Run the client-side Vue app in a different terminal window:

$ cd client
$ npm install
$ npm run serve
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0