iorga-group / debattons Goto Github PK
View Code? Open in Web Editor NEWMethodical debate platform based on user empowerment
License: MIT License
Methodical debate platform based on user empowerment
License: MIT License
I encountered some issues while trying to run Debattons using Docker as detailed in the README:
After /opt/debattons/docker/cmd.sh build-and-run
, debattons:dev is correctly created but doesn't start orientdb. Container logs show:
/usr/local/bin/build-and-run.dev.sh: line 31: /opt/orientdb/bin/server.sh: No such file or directory
The installation log tells us what the problem really is:
$ wget http://central.maven.org/maven2/com/orientechnologies/orientdb-community-gremlin/3.0.0RC1/orientdb-community-gremlin-3.0.0RC1.tar.gz
/usr/local/bin/setup.sh: line 50: wget: command not found
After adding apt-get install wget
to build script, the database gets created successfully:
Creating database [remote:localhost/debattons] using the storage type [PLOCAL]...
Database created successfully.
(PR incoming for this part)
However I then get another error :
+ yarn install --no-bin-links
+ cd /opt/debattons/api-server
+ mvn spring-boot:run
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
[ERROR] Could not create local repository at /home/user/.m2/repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@angular/cli > @angular-devkit/[email protected]" has unmet peer dependency "@angular-devkit/[email protected]".
warning "@angular/cli > @schematics/[email protected]" has unmet peer dependency "@angular-devkit/[email protected]".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 137.24s.
+ chmod +x ./node_modules/@angular/cli/bin/ng
+ ./node_modules/@angular/cli/bin/ng serve --host 0.0.0.0
module.js:471
throw err;
^
Error: Cannot find module '@angular-devkit/core'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/opt/debattons/ui/node_modules/@angular-devkit/schematics/src/tree/virtual.js:10:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
I'll look more into that later, I need to try again with a fresh install.
Config: Ubuntu 16.04 x64, Docker version 17.12.0-ce, build c97c6d6
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.