-
Notifications
You must be signed in to change notification settings - Fork 33
Development (without Docker)
sudo apt-get install sqlite3 mysql-client libmysqlclient-dev libqtwebkit-dev
wsl for Linux command Line: https://docs.microsoft.com/en-us/windows/wsl/install-win10 for firefox: https://virtualizationreview.com/articles/2017/02/08/graphical-programs-on-windows-subsystem-on-linux.aspx Also take a look at Windows.
rvm install 2.7
gem install bundler
nvm install 10.22.0
Go to your target Directory and clone the repository:
git clone git://github.com/puzzle/cryptopus.git
Build Cryptopus with the bundler:
cd cryptopus
rm public/frontend-index.html && cp frontend/dist/index.html public/frontend-index.html
bundle install
Create and initialize the database:
rake db:create
rake db:setup
rake geo:fetch
rake db:seed
Install Frontend dependencies:
yarn
Start the Rails server:
rails s
Browse to http://localhost:3000/session/local and login with default root credentials:
user = "root" and password = "password" (Non-root login is http://localhost:3000/ or http://localhost:3000/session/new)
Navigate to the frontend folder and install dependencies:
cd frontend
yarn install
Start the ember server:
yarn start