/imagine-cms

Imagine is a CMS inspired by Habbo and designed for beginners, it comes with everything you'll ever need to create a website for your virtual world

Primary LanguagePLpgSQL

1. Community

Join our Discord for updates, support and more! https://discord.gg/rkxzpw9h5F

2. Themes

3. Getting Started

3A. Prerequisites

3B. Instructions

  1. Install Yarn Globally
    • npm i yarn -g
  2. Clone the Git Repo
    • git clone https://github.com/chrismpettyjohn/imagine-cms.git
  3. Install Dependencies
    • yarn
  4. Configure API Settings
    • cp demo/.env.example demo/.env
    • Edit apps/api/.env with your values as follows
      # HTTP
      PORT=3000
      
      # Database
      DATABASE_HOST=localhost # IP Address of Database
      DATABASE_USER=root # Database username
      DATABASE_PASS=password # Database Password
      DATABASE_NAME=plus-community # Database Name
      
      # Authentication
      JWT_SECRET=sfff # Randomly generated key, used for sessions, changing will log everyone out, do not share!
      JWT_EXPIRATION_IN_MS=2400000000 # How long a session lasts before logging out
      
      # GraphQL
      GRAPHQL_PLAYGROUND=false # Enables GraphQL Playground for viewing API docs http://localhost:3000/graphql
      ```
    
  5. Prepare your database
  6. Run the API
    • cd apps/api
    • yarn start
  7. Run your preferred theme
    • cd apps/boon-web
    • yarn start