Comments (8)
Hey there! I can handle this 🙂
from anchr.
Sure, give it at try! 🙂
Remember that you would need to change both frontend and backend. The latter is just a few lines of code. For the frontend, you would probably have to introduce a new kind of "settings" page, which can be accessed through a new Settings button to the left of the Logout button at the top right.
Other suggestions on where to place the password change in the UI are welcome, of course. 😉
from anchr.
I got 2 issues..
When trying to setup, I run source env.sh
I get the error bash: export: `#': not a valid identifier
Then when trying to continue installation, everything is successful, but I cant connect to the db and the app doesnt run..
Can I get some help here? 🙂
from anchr.
Did you copy the .env.example
to .env
and add in your DB credentials etc.? If so, try to just remove the one exemplary comment in .env
.
Concerning the database: do you know the exact reason why it can't connect? And can you give some details about your database? Did you set up a Mongo locally? Are you using Docker? Or a hosted online service? Can you connect to your database from the command-line or with a GUI tool like RoboMongo ?
from anchr.
Yeah man, I have followed the instructions on README, so I have copied the .env.example
and set the default values on my .env
.
The error im getting for the db is this
Error: unable to connect to database
at NativeConnection.<anonymous> (/home/administrator/Documents/Alexandros/Projects/anchr/app.js:10:9)
at NativeConnection.emit (events.js:182:13)
at NativeConnection.Connection.error (/home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongoose/lib/connection.js:425:8)
at /home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongoose/lib/connection.js:452:14
at /home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:58:21
at /home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongoose/node_modules/mongodb/lib/db.js:224:14
at Server.<anonymous> (/home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongoose/node_modules/mongodb/lib/server.js:234:9)
at Object.onceWrapper (events.js:273:13)
at Server.emit (events.js:182:13)
at Pool.<anonymous> (/home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongodb-core/lib/topologies/server.js:269:68)
at Object.onceWrapper (events.js:273:13)
at Pool.emit (events.js:182:13)
at Connection.<anonymous> (/home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongodb-core/lib/connection/pool.js:81:12)
at Object.onceWrapper (events.js:273:13)
at Connection.emit (events.js:182:13)
at Socket.<anonymous> (/home/administrator/Documents/Alexandros/Projects/anchr/node_modules/mongodb-core/lib/connection/connection.js:124:49)
from anchr.
Maybe try setting the env vars manually, instead of using the bash script, i.e. manually run export ANCHR_DB_URL=...
, export ANCHR_SECRET=...
and so on?
from anchr.
Oh I also dont have mongodb installed locally. Im running on ubuntu machine. Do I need the mongodb cli tools before continuing exporting manually?
from anchr.
No, you don't necessarily need the mongo cli, unless you want to manually check the connection or something.
from anchr.
Related Issues (20)
- Add context menu entry for web extension
- Conditionally hide login provider buttons if disabled
- Add ESLint for backend
- Backend code refactoring / cleanup
- Check URLs against additional blocklists
- Cannot read property 'message' of undefined
- Hide signup button if registration is disabled HOT 1
- Shortlink cleanup routine
- No response sent for non-existing images
- Website linked in the description doesn't seem to load properly HOT 6
- Ability to edit link descriptions HOT 3
- Track users' last login date
- Unable to start production HOT 5
- Matrix bot
- Docker installation has missing dependencies HOT 2
- Replace Axios with Fetch API
- Enable registration. HOT 1
- Run with Docker not working HOT 1
- Automatically scrape link titles when added via Telegram bot HOT 1
- shortned links use wrong base URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anchr.