mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fixed windows build, updated readme (prerequisites & requirements), fixed backend server start log output to reflect proper values
This commit is contained in:
parent
67cbd129a9
commit
cd6838a468
@ -34,6 +34,13 @@ Connect with other developers over [Discord](https://discord.gg/6ub73U3)
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Requirements
|
||||
|
||||
Node >= `v10.12.0`
|
||||
```
|
||||
node --version
|
||||
```
|
||||
|
||||
### Forking the repository
|
||||
Before you start, fork the repository using the fork button above, then clone it to your local machine using `git clone https://github.com/your-username/Nitro-Backend.git`
|
||||
|
||||
@ -63,6 +70,17 @@ docker-compose down -v
|
||||
|
||||
Install dependencies:
|
||||
|
||||
Download [Neo4j Enterprise Edition](https://neo4j.com/download-center/#releases) and unpack the files.
|
||||
|
||||
Download [Neo4j Apoc](https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases) and drop the file into the `plugins` folder of the just extratced Neo4j-Server
|
||||
|
||||
Start Neo4j
|
||||
```
|
||||
neo4j\bin\neo4j start
|
||||
```
|
||||
and confirm it's running [here](http://localhost:7687)
|
||||
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
# -or-
|
||||
|
||||
@ -3,9 +3,6 @@
|
||||
"version": "0.0.1",
|
||||
"description": "GraphQL Backend for Human Connection",
|
||||
"main": "src/index.js",
|
||||
"config": {
|
||||
"no_auth": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "babel src/ -d dist/ --copy-files",
|
||||
"start": "node dist/",
|
||||
@ -25,7 +22,7 @@
|
||||
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
||||
"db:script:seed": "wait-on tcp:4001 && babel-node src/seed/seed-db.js",
|
||||
"db:reset": "babel-node src/seed/reset-db.js",
|
||||
"db:seed": "$npm_package_config_no_auth run-p --race dev db:script:seed"
|
||||
"db:seed": "cross-env GRAPHQL_URI=http://localhost:4001 GRAPHQL_PORT=4001 DISABLED_MIDDLEWARES=permissions run-p --race dev db:script:seed"
|
||||
},
|
||||
"author": "Human Connection gGmbH",
|
||||
"license": "MIT",
|
||||
@ -100,4 +97,4 @@
|
||||
"nyc": "~13.3.0",
|
||||
"supertest": "~4.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -12,6 +12,6 @@ const serverConfig = {
|
||||
const server = createServer()
|
||||
server.start(serverConfig, options => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.log(`Server ready at ${process.env.CLIENT_URI} 🚀`)
|
||||
console.log(`GraphQLServer ready at ${process.env.GRAPHQL_URI} 🚀`)
|
||||
ActivityPub.init(server)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user