GithubHelp home page GithubHelp logo

pterodactyl / development Goto Github PK

View Code? Open in Web Editor NEW
26.0 10.0 30.0 114 KB

Development environment setup for Pterodactyl. This is used internally by our development team to ensure getting Pterodactyl running in a development environment is a painless as possible.

License: Apache License 2.0

Shell 53.84% Dockerfile 46.16%
development docker pterodactyl docker-compose

development's People

Contributors

daneeveritt avatar matthewpi avatar schrej avatar tekexplorer avatar vingal0 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

development's Issues

Update package.json

Could somebody update the package.json file because its throwing errors... (Pterodactyl panel)

Vagrant fails to start with a generic message

I am having the following issue when trying to setup this dev environment.
After running vagrant up or vagrant up --provision-with setup app I get the following output:

Bringing machine 'app' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* A box must be specified.

I talked with a few other people from the Ptero discord who have faced a similar issue and none of them have managed to fix it. It looks like what we all have in common is that we are using Linux and this has probably never been tested on it?

Do you have any ideas on how I can fix it and is anyone even using this setup nowadays? Would I be better off by just writing a docker-compose file and DIY-ing the dev setup? What are you guys using?

Go version too old for build wings

When trying to build wings, i have the following error:

root@fc6e4a1edded:/home/root/wings# go run 
go: no go files listed
root@fc6e4a1edded:/home/root/wings# go build
go: downloading github.com/apex/log v1.9.0
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
go: downloading github.com/chenzhuoyu/iasm v0.9.1
go: downloading golang.org/x/mod v0.16.0
github.com/pterodactyl/wings imports
        github.com/pterodactyl/wings/cmd imports
        github.com/pterodactyl/wings/router imports
        github.com/pterodactyl/wings/server/filesystem imports
        slices: package slices is not in GOROOT (/usr/local/go/src/slices)
go: warning: modernc.org/[email protected]: retracted by module author: tagged accidentally w/o builders checking the commit
go: to switch to the latest unretracted version, run:
        go get modernc.org/sqlite@latest

(i shorted output by removing other line where go successfully get a package)

Error can be solve by upgrade go version in Dockerfile

App service not running

Hey, i installed dev env for ptero and just ran
./beak up -d

But when i want to
./beak app
i get this error
service "app" is not running container #1

NodeJS version out of date in Dockerfile

During the setup of the development environment. There is an error that occurs when you run setup-pterodactyl, output here:

yarn install v1.22.19
[1/5] Validating package.json...
error @pterodactyl/panel@: The engine "node" is incompatible with this module. Expected version ">=16.0". Got "14.20.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Restarting periodic command scheduler: cronStopping periodic command scheduler: cron.
Starting periodic command scheduler: cron.

This should be fixed by updating the NodeJS version to 16.X or higher.

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.