Negotiable Paleobotanist Missions

    slush-pagespace

    1.0.3 • Public • Published

    slush-pagespace

    A slush generator for Pagespace

    Installation

    Install slush-pagespace globally:

    npm install -g slush-pagespace

    Remember to install slush globally as well, if you haven't already:

    npm install -g slush

    Usage

    Create a new directory for your project:

    mkdir new-pagespace-site

    Run the generator from within the new directory:

    cd new-pagespace-site
     
    slush pagespace

    You will now be prompted to give your new Pagespace site name.

    Project structure

    The following projecct structure will be generated

    new-pagespace-site/
    ├── .gitignore
    ├── README.md
    ├── package.json
    ├── app.js                    # Express app setup  
    ├── bin
    │   └── www                   # Script to start the HTTP server (npm start)
    └── theme                     # Customize templates and public assets in this directory    
        ├── templates    
        │   └── main.hbs          # Starter template  
        └── assets
            ├── css
            │   └── styles.js     # Start CSS. Use your preferred CSS structure or preprocesser     
            └── favicon.ico                        
    

    Development

    Run npm start to start your Pagespace server.

    The Pagespace middleware configuration in app.js is for simple local development. More advanced configuration is also available which more suitable for other setups such as production.

    Next steps

    Start by going to http://localhost:3000/_dashboard

    Login with admin / admin and start working with Pagespace by importing templates and plugins.

    Install

    npm i slush-pagespace

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • philmander