Code Monkey home page Code Monkey logo

term-asteroids's People

Contributors

noisebynorthwest avatar therealgaxbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

term-asteroids's Issues

macOS xterm error `Can't open display`

macOS 13.3.1
Docker version 20.10.14

> make run                                                                                                                                 
if [[ ! $(docker images | grep term-asteroids) ]]
then
make build
fi
if [[ ! $(docker ps | grep term-asteroids) ]]
then
if [[ $(docker ps -a | grep term-asteroids) ]]
then
docker rm term-asteroids
fi
docker run -d \
		-e DISPLAY=:0 \
		-v /tmp/.X11-unix:/tmp/.X11-unix \
		-v $(pwd):/var/www/html \
		-p 8000:8000 \
		--name term-asteroids term-asteroids \
		bash -c "sleep 3650d"
fi
if [[ ! -d vendor ]]
then
docker exec -it \
		term-asteroids \
		bash -c 'cd /var/www/html && ./install-composer.sh'
fi
docker exec -it \
	term-asteroids \
	/usr/bin/env LANG=C.UTF-8 /usr/bin/xterm -maximized -T TermAsteroids \
	-e 'php -dzend.assertions=-1 index.php --use-native-renderer || sleep 20'
/usr/bin/xterm: Xt error: Can't open display: :0
make: *** [Makefile:51: run] Error 1

/bin/bash: -c: line 1: syntax error: unexpected end of file

❯ make run --debug
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
Reading makefiles...
Updating goal targets....
 File `run' does not exist.
   File `init' does not exist.
  Must remake target `init'.
if [[ ! $(docker images | grep term-asteroids) ]]
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [init] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.