Skip to content

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Amsterdam/openstad-management-panel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

An admin panel for creating & managing sites in the openstad ecosystem

Prerequisites

1. Set .env values

PORT=7777
PRODUCTION_SERVER_IP=132.123123 #For d
WILDCARD_HOST=cms.staging.amsterdam.nl
API_URL=
APP_URL=
USER_API=http://localhost:4000/api/admin
USER_API_CLIENT_ID=ccc
USER_API_CLIENT_SECRET=ccccc
COOKIE_SECURE_OFF=yes #notforlive
SESSION_SECRET= #random
SITE_ID=6 #site Id from the openstad api
SITE_API_KEY=xxxxxxx #site Id from the api
BASIC_AUTH_USER= #basic auth pass, whatever you prefer
BASIC_AUTH_PASSWORD=
EXTERNAL_SITE_REPO=API_URL/api/repo
FRONTEND_URL=http://cms.staging.amsterdam.nl
PUBLIC_IP=

# Mongodb connection (Must be same server as frontend service)
MONGO_DB_HOST=localhost
MONGO_DB_PORT=27017
MONGO_DB_USER=''
MONGO_DB_PASSWORD=''
MONGO_DB_AUTHSOURCE=''
# Override previous variables and use a connection string to connect.
# [!!] {database} gets replaced in the application and is required to be in the connection string
MONGO_DB_CONNECTION_STRING='mongodb://localhost:27017/{database}'

2. Run NPM install

npm i

3. Run dev server

npm run dev

About

No description or website provided.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 55.2%
  • JavaScript 19.5%
  • HTML 15.0%
  • SCSS 9.9%
  • Shell 0.2%
  • Makefile 0.1%
  • Other 0.1%