Project description
OnePlace is a web-application built upon Steem and Golos blockchains. As a basis we took Vue.js with SSR module for frontend and LoopBack for backend. Our project is fully open-source under MIT license.
Technology stack: Node.js, Vue.js, Loopback, Redis, MySQL
Website: https://oneplace.media
Latest release on Github: https://github.com/OnePlace-media/oneplace/releases/tag/v0.2.0
Description of current version: OnePlace.media: to New Year with new design and new features.
Installation
Clone the repository and install npm modules
git clone [email protected]:OnePlace-media/oneplace.git
cd oneplace && npm i
Install dependencies
This instruction is for debian based linux
NodeJS
Install NodeJS, we recommend using last LTS version and nvm for installation:
nvm install 8.9.4
nvm use 8.9.4
Also you need to install mysql and redis databases. Use Docker Compose with our docker-compose.yml or make manual install:
MySQL
sudo apt-get update
sudo apt-get install mysql-server
This repository includes init sql script, you can use it for fast start.
# Insert int sql script to ypu mysql daemon
mysql -u root < ./server/data/mysql/mysql-init.sql
# Login Mysql
mysql -u root
# Create new mysql user
CREATE USER 'oneplace'@'localhost' IDENTIFIED BY 'password';
# config privileges
GRANT ALL PRIVILEGES ON oneplace.* TO 'oneplace'@'localhost'
Also you can use MySql WorkBench with our model file to extend sql schema.
Redis
sudo apt-get install redis
Configuration
Edit /etc/redis/redis.conf after instal redis-server for work as daemon on localhost:
daemonise yes
bind 127.0.0.1
port 6379
After you clone the repository and install dependencies you need to create configuration files.
cd server
# Main config file
cp config.sample.json config.json
# config for databases
cp datasources.sample.json datasources.json
config.json
{
...,
"postingWrapper": {
"steemDomain": "steem node with HTTP JSON-RPC",
"golosDomain": "golos node with HTTP JSON-RPC",
"WIF": "APPLICATION POSTING_KEY",
"username": "APPLICATION USERNAME"
}
}
Build and start
We prepared npm commands for fast build and start services. First you must build client with you config.
# Build front-end part of repo
npm run build
For start instances we also recommend using PM2. See process.json.
pm2 start process.json
# start monitoring panel
pm2 monit
But you can also try manual start.
Manual start
# Start LoopBack-API server
npm start
# Start VueSSR server
npm run client
Please see package.json for more details.
Roadmap
In our nearest release we will enable users to set voting weight on upvotes, calculate and display estimated payout before voting. Adding profile/personal blog page will be our next priority.
Contributions
We currently don't have any contribution requests. However, if you would like to contribute please contact @ubik in steemit.chat or just leave a comment to this post.
Commits
d75cbf8355c45f8d8ac6b9c6cf68c1f4cf045d99
All commits in this release
Posted on Utopian.io - Rewarding Open Source Contributors
I'm an aspiring Vue.js developer. Great to see projects like this that use Vue. I'll be following to learn more.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you! If you'll have any questions just ask.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your contribution, it has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @oneplace.dev I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This wonderful post has received a @oneplace.dev 4.07% upvote from @anadolu. Discord Channel: https://discord.gg/WVJW7AC Please vote with the link below if you support our project. https://goo.gl/1zYDKh
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
1.34% @pushup from @awispa
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
This post has received a 10.34 % upvote from @aksdwi thanks to: @awispa.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Interesting
I will follow you to see your future posts!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Problem: I cannot change the password of the super-account ?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hello, sorry for long wait as we haven't check this account for a while. Right now there is no GUI for password change other than "Forgot password" link which resets your password. Hope this helps for now, as we develop more options for account management.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you for your information @oneplace.dave , i will try. I hope to be lucky.. @aafadjar
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit