GithubHelp home page GithubHelp logo

portfolious's Introduction

So yea, this is a thing

How to host yourself

To host, run the installation commands in console

npm i

Now its hosted on https://localhost:3000

You have set up the frontend part just using those commands, hooray! But you still need to set up the backend

Step 1

Download an apache + mysql server host. I preferably use xampp which has a configurable apache and mysql server dashboard which is easy to set up

Step 2

All following steps are based on xampp

Launch both the apache server and the mysql server

image

Once it looks like the image above, go to http://localhost/phpmyadmin/and upload the database.sql file from the main directory

Step 3

Press the User Accounts button in the topbar and locate root localhost and press Edit privileges

image

Step 4

Click "change password" and designate the root account a password

image

After you've changed the password, go back to xampp and click Apache > Config > phpMyAdmin (config.inc.php) and change this line

$cfg['Servers'][$i]['password'] = 'yourNewPassword';

Step 5

In the project files, rename the .env.dist to .env and edit the values below

dbPassword=""
secret=""
cookieSecret=""

apininjas=""

API NINJAS - YOU MUST HAVE A VALID API KEY

Congrats, you've successfully set up the backend and you now have a fully set up server.

Now, run the startup command below to start your server

npm start

Suggest changes in the issues and pull requests tab

Honestly idk how they work, so go figure it out for me

portfolious's People

Contributors

29cmb avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.