Skip to content

Exceptional Developers' portfolio website.

Notifications You must be signed in to change notification settings

amirhoseinsalimi/exdevs-ir

Repository files navigation

Exceptional Developers Website

Exceptional Developers' portfolio website. https://exdevs.ir


Simply clone and run this website for your personal use :D

Requirements to run this website

  1. Node.js and npm
  2. SQLite (As the main database)
  3. Redis (For session management)

NOTE: This project uses bcrypt so you should have an LTS version of Node.js.

Project setup

  1. Clone this repo:
    Run git clone https://github.com/amirhoseinsalimi/exdevs-ir && cd exdevs-ir
  2. Install dependencies: Run npm i
  3. Configure environment variables:
    Copy .env.example to .env, fill all required fields. For SECRET field, run npm run key:generate and paste the output there. Don't forget to fill the fields for admin user. No worries! Your password will be stored hashed.
  4. Run migrations:
    Run knex migrate:latest. See Knex.js Documentation for more\
  5. Run seeds:
    It's time to seed the database with some data.
    knex seed:run This will also create the admin user for you. Later you can log in with your credentials from /admin.
  6. Run the website:
    a. For development: npm run serve with a nice hot reload, thanks to Browser-Sync
    b. For production: npm start!
    c. See package.json for other possible commands.
    d. Don't forget to star this repo!