1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-04 13:05:24 +02:00
planka/server
2025-02-12 16:09:46 +05:30
..
api feat: Add Serbian translation (#952) 2024-11-19 13:47:44 +01:00
config fix: Secure S3 attachments, bump SDK, refactoring 2024-11-12 15:58:22 +01:00
db fix: Secure S3 attachments, bump SDK, refactoring 2024-11-12 15:58:22 +01:00
private/attachments feat: Remove attachments from public access 2022-04-26 22:20:20 +05:00
public feat: Remove attachments from public access 2022-04-26 22:20:20 +05:00
test feat: Modify logger to log to file that supports fail2ban (#284) 2022-08-23 03:42:56 +05:00
utils feat: Configurable file storage locations (#886) 2024-09-20 20:29:11 +02:00
views Docker, update readme, update dependencies 2019-10-01 04:18:33 +05:00
.editorconfig Initial commit 2019-08-31 04:07:25 +05:00
.env.sample fix: Secure S3 attachments, bump SDK, refactoring 2024-11-12 15:58:22 +01:00
.eslintignore ref: Ignore public js linting (#278) 2022-08-08 17:58:41 +05:00
.gitignore meta: Fix ignore files for logs 2022-08-23 00:51:33 +02:00
.npmrc Update server scaffold 2019-10-14 21:50:52 +05:00
.sailsrc Docker, update readme, update dependencies 2019-10-01 04:18:33 +05:00
app.js feat: Add gallery for attachments 2022-06-20 18:27:39 +02:00
get-config.js feat: Add gallery for attachments 2022-06-20 18:27:39 +02:00
package-lock.json chore(deps): Bump cross-spawn and sails-generate in /server (#964) 2024-11-28 11:21:16 +01:00
package.json chore: Update dependencies 2024-11-22 17:13:17 +01:00
README.md Update README.md 2025-02-12 16:09:46 +05:30

Planka server

This repository contains a Sails.js application that can be run without using sails lift. Instead, you can start the server using node app.js or other process managers.

Getting Started

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo.git
    cd your-repo
    
  2. Install dependencies:

    npm install
    

Running the Application

You can start the server using:

node app.js

Alternatively, you can use process managers like:

  • npm start
  • forever start app.js
  • pm2 start app.js
  • node debug app.js

Configuration

You can pass command-line arguments and environment variables to customize the server behavior. Example:

NODE_ENV=production node app.js --port=80 --verbose

For more configuration options, refer to the Sails.js documentation.

Deployment

When deploying to a platform like Heroku, ensure that:

  • All dependencies are installed using npm install --production.
  • The correct environment variables are set.
  • The process is managed correctly (e.g., using forever or pm2).

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

Contact

For any issues or contributions, feel free to open an issue or reach out to [your contact information].