Running from code
You can also run LinkStash from the code.
Pre-requisites
- git
- nvm
- node
- mysql database
Setting up the Development Environment
- Clone the repository
git clone http://github.linkstash/ - Start the backend
- Switch to the backend folder
cd linkstash-backend - Create
.env.localand configure database connection settings.See configuration for all configuration settings.
cp env.example env.local
nano env.local - Initialize databse
nvm use
npm run migrate - Start the application
npm start
- Switch to the backend folder
- Start the frontend
- Switch to the backend folder
cd linkstash-frontend - Create
.env.localand configure database connection settings.See configuration for all configuration settings.
cp env.example env.local
nano env.local - Start the application
npm start
- Switch to the backend folder